Re: a couple questions about virtual hosts in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-08-10 at 11:45 -0500, Scott wrote:
> Tim,
> 
> I still seem to have the same problem where index.php is not coming up 
> properly.  by this I mean I cannot see it at all.  Here is what my virtual 
> host looks like for this.
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
> ServerName pilotalk.com
> ServerAlias pilotalk.com
> UseCanonicalName On
> ServerAdmin webmaster@xxxxxxxxxxxx
> DocumentRoot /var/www/PilotalkBraillesoft.com
> DirectoryIndex index.php
> ErrorLog logs/PilotalkBraillesoft.com-error_log
> CustomLog logs/PilotalkBraillesoft.com-access_log common
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^PILOTALK\COM$ [NC]
> RewriteRule (.*)$ http://www.pilotalk.com/$1 [R=301,L]
> </VirtualHost>
> 
> 
> Scott


Hi Scott,

have you verified that there's a handler in place, so that apache knows
what to do with .php files? Look for an AddType entry somewhere.

Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux