Well, I am running Apache1 and this is part of commonapache.conf:
Code: Select all
<Directory /home>
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
It wasn't /home before, it was the another directory, but it still doesn't work. Here is part of the Vhosts config:
Code: Select all
<VirtualHost *>
DocumentRoot /home/<username>/www/iis
ServerName microshaft.com
ServerAlias microshaft.com *.microshaft.com
DirectoryIndex index.html
<Directory /home/<username>/www/iis>
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
That virtual host is supposed to match any that don't have a domain specified, so that people just typing in my IP address will be taken to an different web page.
Thanks,
Andrew