View Single Post
Old 20th April 2007, 22:20
tony98 tony98 is offline
Junior Member
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default .htaccess and Rewrite woes with Debian4.0 and ISPconfig

I recently installed Debian4.0 via the perfect install guide and ISPconfig ontop of that. I've attempted to setup myPh3 Gallery ( and phpAutoGallery ( with little or no sucess. (I've run phpAutoGallery before with no troubles)

myPh3 started with complaining about "Options not allowed here" I changed the apache2.conf to AllowOverride All in that directory but that just lead me to a new problem.
[Fri Apr 20 11:32:07 2007] [error] [client x.x.x.x] Directory index forbidden by Options directive: /var/www/web7/web/myPh3/

web/myPh3/.htaccess should be redirecting the client....

Options +FollowSymLinks -MultiViews

RewriteEngine On
RewriteRule ^myPh3/?$ myPh3.core.php [L]
RewriteRule ^myPh3/(album|photo)/(.*)$ myPh3.core.php?$1=$2 [L]
So, after that I figured something was broken and proceeded to not find any information on myPh3 users.. so, I moved to something I've used before (even so I think I would like to try myPh3 in the future)

phpAutoGallery is also giving me problems with the url rewrite.. This is the page that loads when I go to the main gallery page.. notice the recursive /photobox
Page: //home/www/web7/web/photobox//photobox/ not found!
[ admin ]
Indexed by phpAutoGallery v0.9.6
2004 All rights reserved.
and here is the .htaccess file for that directory.
RewriteEngine on

RewriteCond %{REQUEST_URI} !.*__phpAutoGallery/wrapper\.php.*
RewriteRule .* /photobox/__phpAutoGallery/wrapper.php [NE,QSA,L]
Any ideas? I've checked /etc/apache2/mods-enabled and rewrite is turned on.

Thanks !

Reply With Quote
Sponsored Links