Re: permissions and Apache problem

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

 



Am Mo, den 28.02.2005 schrieb Ahmed Abdel-Aliem um 20:54:

> i am making a virtual server to test my files localy
> i got apache and php and mysql working fine
> but i have a strange problem.
> if i create new files or copy files from my mounted ntfs drive to the
> folder /var/www/html/
> they don't execute at all and all i get in the browser is blank pages.
> but when i upload the same files to my webserver they work with no problems.
> i though it is a matter if permissions
> i changed the permissions to 755 and 777 and it didn't work too
> can anyone guide me through this plz ?

> Ahmed Abdel-Aliem

Do the usual:

1) vi /var/www/html/phpinfo.php
    content:
    <?php phpinfo(); ?>
2) http://server_address/phpinfo.php
    it must display PHP information like from "php -i" on console
3) check your /var/log/httpd/error_log for messages
4) http://fedora.redhat.com/docs/selinux-apache-fc3/ for SELinux related
things

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.14_FC2smp 
Serendipity 22:33:29 up 7 days, 9:42, load average: 0.45, 0.90, 0.98 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux