You are not logged in.

#1 2005-08-05 18:35:15

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Apache want /usr/htdocs

ok first off I have install apache ( httpd ) on archlinux .7 -- now I have set up a virtual host that will host a domain I registered on dyndns.org --
ok so in the <virtualhost> I have set the documentroot to /home/https/html
but when I try to access my website from the internet it can connect to my server but gives me this

404 Not found
The requested URL / was not found on this server

and the log reads

[error]
File Does not exist: /usr/htdocs

I had the same problem when using apache2 on debian .. and when it didnt work I moved to archlinux only to get the same issue ..
Does anyone have a solution --
I think there must be a file somewhere that is pointing httpd to /usr/htdocs

but its not in httpd.conf ( main config file )

someone help please

Offline

#2 2005-08-10 11:27:07

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Apache want /usr/htdocs

It is ridiculous to put a jinx on a distro 'cause you failed figure out how apache handles virtual hosts...

<VirtualHost 10.1.2.3>
ServerAdmin webmaster@host.foo.com
DocumentRoot /www/docs/host.foo.com
ServerName host.foo.com
ErrorLog logs/host.foo.com-error_log
TransferLog logs/host.foo.com-access_log
</VirtualHost> 

Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB