a couple questions about virtual hosts in Apache
Andrew Kelly
akelly at corisweb.org
Mon Aug 13 09:54:33 UTC 2007
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 at pilotalk.com
> 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
More information about the fedora-list
mailing list