mkenyon2 Posted December 15, 2007 Share Posted December 15, 2007 I just upgraded from Ubuntu 6.10 to 7.4. Before the upgrade my two sites, http://mark.phillk.net and http://www.greatwhitedata.com were working. Now only http://mark.phillk.net works with PHP. I know greatwhitedata.com works with regular html, here's a sample. http://www.greatwhitedata.com/testPage.htm I'm using sites-enabled and sites-available just as I was before. Here are some of my configs: mark@linux800:/etc/apache2/conf.d$ more virtual.conf # # We're running multiple virtual hosts. # NameVirtualHost * mark@linux800:/etc/apache2/sites-enabled$ ls 000-default mark.phillk.net mark.phillk.net~ www.greatwhitedata.com mark@linux800:/etc/apache2/sites-enabled$ more mark.phillk.net # # mark.phillk.net (/etc/apache2/sites-available/mark.phillk.net) # <VirtualHost *> ServerAdmin qwert231@yahoo.com ServerName mark.phillk.net ServerAlias mark.phillk.net # Indexes + Directory Root. DirectoryIndex index.html index.php index.htm DocumentRoot /web/ # CGI Directory # ScriptAlias /cgi-bin/ /web/cgi-bin/ # <Location /cgi-bin> # Options +ExecCGI # </Location> <Location /GreatWhite> Order Deny,Allow Deny from all </Location> # Logfiles ErrorLog /home/www/web/logs/error.log CustomLog /home/www/web/logs/access.log combined </VirtualHost> mark@linux800:/etc/apache2/sites-enabled$ more www.greatwhitedata.com # # www.greatwhitedata.com (/etc/apache2/sites-available/www.greatwhitedata.com) # <VirtualHost *> ServerAdmin qwert231@yahoo.com ServerName www.greatwhitedata.com ServerAlias greatwhitedata.com # Indexes + Directory Root. DirectoryIndex index.php DocumentRoot /web/GreatWhite/ <Directory /web/GreatWhite/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all DirectoryIndex index.html index.php index.htm </Directory> # Logfiles ErrorLog /home/www/GreatWhite/logs/error.log CustomLog /home/www/GreatWhite/logs/access.log combined </VirtualHost> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.