View Full Version : html address issue
neo_philiac
06-20-2007, 04:30 PM
This is probably a very stupid question but I have a web server setup with Mac OSX server and I have this page (index.html) in the sub folder. Now whenever I type in the browser, http://www.xyz.abc.edu/pqr8 it doesnt link to the page but when i type a / it will (http://www.xyz.abc.edu/pqr8/). I want it to work if I typed http://www.xyz.abc.edu/pqr8 Can anyone tell me why this is happening?
Thanks
scrupul0us
06-20-2007, 05:27 PM
b/c mac is is built upon a unix kernel... in unix and linux machines everything is a "file"... so when you browse to just "/pqr8" it looks for a file named as such... when you add the trailing slash it looks for a directory
supposedly u can remedy this with mod_rewrite, but i never got a real answer on as how to implement it
neo_philiac
06-20-2007, 06:18 PM
oh i also forgot to mention one more thing. I cant access the page from my computer (and mine only) just by typing http://www.xyz.abc.edu/pqr8/ I have to type the IP address //111.111.11.11/. why is that? it works fine from other machines....weird!
scrupul0us
06-20-2007, 06:38 PM
sounds like a DNS issue
somewhere in your DNS you will have to map the subdomain, and IIRC map it in your apache as a virtual host
subdomains tend to trip me up
neo_philiac
06-22-2007, 02:48 PM
Does anyone else have a clue on the first problem? Or Does anyone know if any settings can be changed on OS X server ?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.