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.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th September 2012, 16: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

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
Reply With Quote
Sponsored Links
  #2  
Old 9th September 2012, 16:29
rubendob rubendob is offline
Junior Member
 
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3  
Old 10th September 2012, 09:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

You need an index file (index.html, index.php, etc.) in your document root.
__________________
Falko
--
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
Reply

Bookmarks

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 18:02
isp config 3.03, quotas, pannel freeze spazio General 7 5th April 2011 09:31
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 17:22


All times are GMT +2. The time now is 18:04.


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