Re: RE: PHP Not Working

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

 



Steve, I get the Firefox alert asking me what program I want it to use to open the file.

On , Steve Brereton <the.oldgoat@xxxxxxxxxxx> wrote:
>
> What happens when you load a php page?
> A blank? the php script shows? a 500 error?
>
> > Date: Thu, 9 Jun 2011 14:48:20 -0700
> > From: zavelopez@xxxxxxxxx
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: [users@httpd] PHP Not Working
> >
> > Hi, I'm using Apache 2.2 on Ubuntu 10.04. I've checked that php mod is
> > enabled. It is. I'm using virtual hosts. It serves all html files,
> > but not php. Following is my VHost configuration:
> >
> >
> > ServerName http://new.dev
> > ServerAdmin webmaster@localhost
> > DocumentRoot /home/zave/Public/new
> > RewriteEngine off
> >
> >
> > RewriteEngine on
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteCond %{REQUEST_FILENAME} !-d
> > RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php
> >
> >
> >
> > Options FollowSymLinks
> > AllowOverride None
> >
> >
> >
> > Options Indexes FollowSymLinks MultiViews
> > AllowOverride All
> > Order allow,deny
> > allow from all
> >
> >
> > ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> >
> > AllowOverride None
> > Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> > Order allow,deny
> > Allow from all
> >
> >
> > ErrorLog /var/log/apache2/error.log
> >
> > # Possible values include: debug, info, notice, warn, error, crit,
> > # alert, emerg.
> > LogLevel warn
> >
> > CustomLog /var/log/apache2/access.log combined
> >
> > Alias /doc/ "/usr/share/doc/"
> >
> > Options Indexes MultiViews FollowSymLinks
> > AllowOverride None
> > Order deny,allow
> > Deny from all
> > Allow from 127.0.0.0/255.0.0.0 ::1/128
> >
> >
> >
> > All my VHosts are configured the same way, save for the ServerName and
> > DocumentRoot directives. Please help.
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
>
>
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux