Index pages for virtual hosts
When I go to the virtualhosts, I only get a Index page. I tried defining the document root down to the index.html. I got an error on restart. Anyone want to venture guess on how to fix this before I throw the computer across the room?
NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost *:80> # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> <VirtualHost *:80> ServerAdmin linux@medscribe.biz DocumentRoot /var/www/html/naghag.com/ ServerName naghag.com ServerAlias *naghag.com <Directory "var/www/html/naghag.com"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin linux@medscribe.biz DocumentRoot /var/www/html/diener.us/ ServerName diener.us ServerAlias *diener.us <Directory "var/www/html/diener.us"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin linux@medscribe.biz DocumentRoot /var/www/html/medscribe.us/ ServerName medscribe.us ServerAlias *medscribe.us <Directory "var/www/html/medscribe.us"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin linux@medscribe.biz DocumentRoot /var/www/html/medscribe.biz/ ServerName medscribe.biz ServerAlias *medscribe.biz <Directory "var/www/html/medscribe.biz"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin linux@medscribe.biz DocumentRoot /var/www/html/pandagirl.us/ ServerName pandagirl.us ServerAlias *pandagirl.us <Directory "var/www/html/pandagirl.us"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> |
default pages fix
I'm sorry, i fixed the problem by converting the html files using Quanta. The originals were done in windows. EEEEK!
I am starting to like this learning linux stuff. You sure learn alot. |
All times are GMT -5. The time now is 08:59 PM. |