PDA

View Full Version : trailing slash issue with OS X Server/apache


meancode
03-15-2002, 06:39 PM
hello,

i seem to have a problem on one of the servers i have set up, and dont have this issue on the other. i cannot remember what i did to fix the issue on one, and not the other. i am tearing my hair out trying to fix this as QUICKLY as possable as i need to get this up and running 4 days ago.

problem is this. as long as i use a URL such as this:

http://bgdv.bgsu.edu/address/ it works, loads the page, etc. but if i dont put in the trailing slash (as pretty much most users do not) it gives me a server not found time out. http://bgdv.bgsu.edu/address (this addressed might still be masked by the university;s firewall (dont ask my, long story, headache) if it is still masked, just believe me, it loads without me having to type the trailing slash.

now check this link out, http://ctlt.bgsu.edu/resources that works, it apears to me that apache is putting that trailing slash in for me. now i have the mime_magic_mod and the spelling_mod ON on both servers. they are vanilla exept for the dev folders on both have different directives (wich could not possably be the problem, even if i replace my modified httpd.conf file with the "original" from the apple install, i still get this problem on my bgdv.bgsu.edu server.

i see no check box in the GUI of Server Admin that is different from one server to the other. please help, this is frustrating. i know this is a small thing, i fixed this problem this past summer, and cannot remember the remody. thank you.

mervTormel
03-15-2002, 07:14 PM
http://httpd.apache.org/docs/misc/FAQ.html#set-servername

http://httpd.apache.org/docs-2.0/mod/mod_dir.html

meancode
03-15-2002, 08:28 PM
thanks merv. i knew it was something easy like the ServerName directive. funny thing is i didnt specify on the ctlt site. seem to recall this being something with our IT dept (not supprising) as we do not handle out DNS. thanks again.