Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th September 2012, 17:19
rubendob rubendob is offline
Junior Member
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos Apache php-fpm problem with virtual host and Index Forbbiden



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


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?

Reply With Quote
Sponsored Links
Old 9th September 2012, 17:29
rubendob rubendob is offline
Junior Member
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote
Old 10th September 2012, 10:44
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

You need an index file (index.html, index.php, etc.) in your document root.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 503 nginx demon326 Installation/Configuration 4 25th November 2011 19:02
isp config 3.03, quotas, pannel freeze spazio General 7 5th April 2011 10:31
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 18:22

All times are GMT +2. The time now is 14:21.

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