[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual index of subdirectory redirected to localhost?



* Carl Fink (carl@fink.to) wrote :
> 
> I've set up an Apache server, which is working fine in almost every respect. 
> However, one of my colleagues set up a subdirectory, /var/www/staff, and in
> that directory has a single file, index.html.
> 
> If you type the URL 
> 
> 	http://sitename.ext/staff
> 
> into a browser, instead of properly opening
> 
> 	http://www.sitename.ext/staff/index.html
> 
> it opens (and this is really weird), 
> 
> 	http://127.0.0.1/staff
your servername is wrong.
http://httpd.apache.org/docs/misc/FAQ.html#set-servername
-Thom



Reply to: