Rewrite

esieens

Joined: 2005-06-24
Posts: 65
Posted: Fri, 2005-06-24 06:47

Hello,

I have a pbm with the rewrite module. I have definiely mod_rewrite loaded and added he following lines to my httpd.cong:
<Directory /gallery2>
AllowOverride FileInfo Options
</Directory>

I have createdan empty .htaccess in my gallery2 folder as well.

However I cannot still get the URL REwrite module working.

Both Rewrite tests fail - only the .htaccess test is a success.

Any idea what could be wrong?

Thanks
----

Gallery URL (optional):
Gallery version: 2 (drop from 23/06)
Webserver (with version): Apache 2.0.49
Datatabase (with version): MySQL 4.0.19
PHP version (eg 4.2.1): 4.2.1
phpinfo URL (optional):
Graphics Toolkit(s): All
Operating system: SuSE 9
Web browser/version:
G1 version (for migration bugs):

 
pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Fri, 2005-06-24 10:07

You simply get 'FAIL_NO_REWRITE', or do you get something else, like a 404 or 500 error?

Edit:

The <Directory /gallery2> should (unless you have /gallery2 in your filesystems root) be something else. This argument should be the physical path to your Gallery.

 
esieens

Joined: 2005-06-24
Posts: 65
Posted: Fri, 2005-06-24 14:29

Hello pelle! That was exactly my pbm - many thanks!

 
beatyou

Joined: 2005-07-03
Posts: 2
Posted: Sun, 2005-07-03 22:18

Just a continuation of this same problem. Heres what steps I have taken and what the problem is, thanks in advance for helping.

I made the changed to the .htaccess files as required in the module configuration page for mod_rewrite. Both tests come up with "FAIL_NO_REWRITE"

These lines are in my httpd.conf that have to do with mod_rewrite.
<Directory "C:/www">

AllowOverride FileInfo Options

</Directory>
AddModule mod_rewrite.c
LoadModule rewrite_module modules/mod_rewrite.so

Here are server specs as well.
Gallery version = 2.0-beta-3+ core 0.9.27
PHP version = 5.0.4 apache
Webserver = Apache/1.3.33 (Win32) PHP/5.0.4
Database = mysql 4.1.10a-nt
Toolkits = Exif, ImageMagick, SquareThumb, Thumbnail
Operating system = Windows NT HXCSERV2 5.2 build 3790

What am I missing? Thanks

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-07-04 04:05

i don't know how picky apache is about the path, but maybe try C:\www or try without quotes?