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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux