New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - apache redirects to

Post Reply New Thread Subscribe

Thread Tools

Member Since: May 04, 2007
Posts: 3
pagod is on a distinguished road

pagod is offline
Hi all,

i'm having a problem with my web server, perhaps someone can help. i can remember having the same problem on an OS X 10.2, and somehow solving it, but i have no clue how i did that (it was more than 1 year ago...)

so basically here's the problem: i have my apache running on my mac at home. i use my DSL router to update my DNS entry, and that works fine. i can access pages, or ssh to my server, that's ok.
the problem arises when i try to access *directories* on the mac. in such cases, where apache would either try to display a dir index or search for index.html, it simply redirects the call to, and of course it doesn't work...

here are a few examples: -> redirect to (fine) -> redirect to (fine) (no slash at the end) -> redirect to NOT FINE!!! -> redirect to (seems to be fine) (no slash at the end!) -> redirect to NOT FINE!!! -> displays index.html (fine)

when i try to get the last-but-one with wget, i get the following message:
pingoo temp/test> wget ""
=> `test'
Connecting to connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: [following]
=> `index.html'
Connecting to failed: Connection refused.
pingo temp/test>

using the IP instead of the server name doesn't make things better, i.e. accessing (my current IP) doesn't work, but accessing (with slash at the end) does work.

finally, once an index has been successfully loaded (e.g. by adding the slash at the end of the address), further attempts to load it (without slash) will work as well in the same session (e.g. browser window). might have been cached on the server side?..

anyone already experienced this problem, and/or knows how to solve it? i guess it's a config problem, but i'm rather new to apache and i don't feel too comfortable playing around with httpd.conf yet...

thx a lot in advance!!

QUOTE Thanks

Post Reply New Thread Subscribe

« Ecommerce Software | Password reset »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Apache issue.. benbramz OS X - Operating System 5 12-01-2006 10:33 PM
Stupid Apache alexisonfire Schweb's Lounge 10 08-16-2006 01:24 AM
Apache and Airport Express jwindhall OS X - Operating System 1 10-06-2005 06:23 AM
Dual Apache install, how do I remove!? edokid OS X - Operating System 1 02-11-2005 03:35 AM
Apache does not start plutonito OS X - Development and Darwin 3 07-28-2004 12:19 PM

All times are GMT -4. The time now is 10:17 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?