httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maila Fatticcioni <mfatticci...@mbigroup.it>
Subject Re: [users@httpd] PHP and Apache 2.0.54 on Linux (Fedora Core 3)
Date Mon, 18 Apr 2005 10:28:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think you have already checked the permition rights of the directory
and files, so do you check the DirectoryIndex option? You should have
index.php there.

Besides check if the php files you used had the short tag <? instead of
<?php. If so, check in the /etc/php.ini file. You must have the that
option enabled: short_open_tag = On

Maila

Christopher Malton wrote:
> To all,
> 	I have a small problem with Apache on Linux (Fedora Core 3). The
> Apache apache2.conf file has the right directives for PHP (I think) but all
> it will do is output the PHP source code when I go to a .php file.
> 
> The config statements are as follows:
> 
> AddType application/x-httpd-php .php
> AddHandler application/x-httpd-php "/usr/bin/php"
> 
> This should make any .php file be executed by /usr/bin/php
> 
> The results that I get however are as follows:
> ----------------------------------------------------------------------------
> -------------------------------------------Forbidden
> 
> You don't have permission to access /ultradownloader.dyndns.org/index.php on
> this server.
> 
> Additionally, a 404 Not Found error was encountered while trying to use an
> ErrorDocument to handle the request.
> ----------------------------------------------------------------------------
> -------------------------------------------
> 
> What I think is the permissions are not set properly.
> 
> Please help me!
> 
> Chris
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCY4vBi2q3wPb3FcMRAn/VAJ4vTqXSmUPnNLWDKs6Hflf+gs77ywCgms2u
pkg31HMTCm5uLYdOW3nTwBg=
=FjDp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message