HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Centos Apache php-fpm problem with virtual host and Index Forbbiden (http://www.howtoforge.com/forums/showthread.php?t=58665)

rubendob 9th September 2012 16:19

Centos Apache php-fpm problem with virtual host and Index Forbbiden
 
http://www.howtoforge.com/using-php5...-centos-6.2-p2

Hello

I'm having little issue and I don't know how to fix. I followed tutorial without problem but when I setup a virtual host I get an error in /var/log/httpd/error

Directory index forbidden by Options directive

For example

If I try to access some php file directly there is ok

www.domain.com/info.php

but If I try to access directly to domain I get the error

:-(

I don't know If there is something missconfigured in httpd.conf. FastCgiWrapper is

FastCgiWrapper Off

And I have disabled mod_php


I have copy virtual host conf of Apache mod_php where I have php site under production.

Can you give me some idea?

Thanks

rubendob 9th September 2012 16:29

AH! I forgot to mention there is rewrite rules in this virtual host setup. Rewrite rules that are coming from my virtual host conf of my production serve (apache mod_php)

I think is interesting to mention.

Thanks

falko 10th September 2012 09:44

You need an index file (index.html, index.php, etc.) in your document root.


All times are GMT +2. The time now is 22:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.