Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th January 2013, 14:02
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default problem with some apache directives (multiviews)

I am using the gallery script piwigo on a domain hosted on a ISPC3 server (Apache2, Debian6) installed using Falko's How-To.

I am confronted with strange problems.

To enable SEO-friendly URLs in the gallery, I had to activate the following Apache directives:
Code:
AcceptPathInfo On
Options +MultiViews
But I get the following error in the error log:
Quote:
(13)Permission denied: cannot read directory for multi:
Does anyone know what could be the cause?
I suppose it has something to do with ISPC3 default settings for websites or with default access rights, but I'm not sure.
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2013, 16:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I guess it has to do with the secure permissions of the web/ directory. Usually you can ignore such warnings.
__________________
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
  #3  
Old 31st January 2013, 16:18
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default

Thank you Falko - the problem is that the SEO friendly links produce a 404 - so I can't completely ignore it.
Reply With Quote
  #4  
Old 1st February 2013, 17:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you check the permissions of your .htaccess file?
__________________
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
  #5  
Old 1st February 2013, 17:25
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default

I confess I did not - but I tried to put the Apache directives into Apache configuration, and the results were the same.
Reply With Quote
  #6  
Old 2nd February 2013, 15:25
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default

Solved!

Apparently, multiviews requires higher file permissions when the webserver's user is not in the same group as the owner of the files.

Setting file permissions to 750 solved my problem.
Reply With Quote
The Following User Says Thank You to manarak For This Useful Post:
falko (4th February 2013)
  #7  
Old 2nd March 2013, 17:53
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
Default

the problem came back... without me changing anything and inspite of everything being chmodded to 755.

hmmm....
Reply With Quote
  #8  
Old 2nd March 2013, 17:57
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 262
Thanks: 32
Thanked 6 Times in 5 Posts
 
Default

there were new files (templates, temp files, stats, etc.) that were being created by the webserver with 644 permissions - that disrupted multiviews.

I got to find a solution around this.
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
sessions not being saved gavimobile General 6 15th January 2012 15:05
Apache hangs without traffic Thesee General 21 27th September 2011 23:43
Apache Directives and .htaccess ashishpadave Installation/Configuration 6 8th July 2009 11:55
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04


All times are GMT +2. The time now is 08:34.


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