zenoran
June 24th, 2008, 03:39 PM
This is stumping the heck out of me and I can't seem to figure out what's going on...
the error log is showing this:
File does not exist: /var/wwwindex.html
That's when I try to directly reference "http://<site>/index.html"
I even tried restoring the default default.dpkg-dist virtual host configuration and still no luck. With Indexing turned on I can view the directory structure in the /var/www directory but it basically just does the same thing any time I try to click on a folder or directory:
File does not exist: /var/wwwfiles
File does not exist: /var/wwwplugin
etc etc...
it isn't putting an extra / in there! What is up with that?!
root@orion:/etc/apache2/sites-available# cat default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
the error log is showing this:
File does not exist: /var/wwwindex.html
That's when I try to directly reference "http://<site>/index.html"
I even tried restoring the default default.dpkg-dist virtual host configuration and still no luck. With Indexing turned on I can view the directory structure in the /var/www directory but it basically just does the same thing any time I try to click on a folder or directory:
File does not exist: /var/wwwfiles
File does not exist: /var/wwwplugin
etc etc...
it isn't putting an extra / in there! What is up with that?!
root@orion:/etc/apache2/sites-available# cat default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>