[Sussex] Apache + SSL + virtual host
Simon Huggins
huggie at earth.li
Tue May 24 17:23:34 UTC 2005
On Tue, May 24, 2005 at 05:22:44PM +0100, Diego Moore wrote:
> ServerName www.dict8login.com
Oops :)
> NameVirtualHost aaa.bbb.ccc.ddd:80
> <VirtualHost dev.example.com:80>
> DocumentRoot /var/www/dev.example.com/html
> ServerName dev.example.com
> </VirtualHost>
[..]
> However when I visit http://dev.example.com/test.txt I get:
> Not Found
> The requested URL /test.txt was not found on this server.
> Apache Server at dev.example.com Port 80 <--- note server name!
> I'm confused...
Why are you confused that when you visit dev.example.com it tells you
you're visiting dev.example.com?
Was some of your example broken?
Check the error.log to find out what path it was using to find text.txt.
You should see something like:
[error] [client w.x.y.z] File does not exist: /var/www/dev.example.com/html/test.txt
Do you?
--
Simon Huggins \ "Emergency! Emergency! There's an emergency going on!"
\ - Holly
http://www.earth.li/~huggie/ htag.pl 0.0.22
More information about the Sussex
mailing list