2.1-rc-1a: can't configure mod_rewrite on fedora core 5 test 3

seandarcy

Joined: 2006-02-28
Posts: 8
Posted: Sun, 2006-03-05 17:10

Just installed on fedora fc5t3, amd64. mod_rewrite installed as part of fedora apache:

/usr/lib64/httpd/modules/mod_rewrite.so

site admin -> modules -> url rewrite -> configure:

>Apache mod_rewrite
>
>Testing if mod_rewrite is supported by the server. Warning
>
>Test mod_rewrite manually
>
>For whatever reason, Gallery did not detect a working mod_rewrite setup. If you are confident that mod_rewrite >does work you may override the automatic detection. Please, run these two tests to see for yourself.
>Works Test
> mod_rewrite configuration 1 (with global Options +FollowSymlinks)
> mod_rewrite configuration 2 (with local Options +FollowSymlinks)
>
>If one of the two tests gives you a page with the text PASS_REWRITE you are good to go.
>
>Testing if Gallery can write to the .htaccess file. Success

I ran each of the tests. Both gave FAIL_NO_REWRITE

I've unistalled and reinstalled url rewrite.

Gallery version = 2.1-rc-1a core 1.0.28
PHP version = 5.1.2 apache2handler
PHPInfo Link (see FAQ): /var/www/html/gallery2/phpinfo.php
Webserver = Apache/2.2.0 (Fedora)
Database = mysqlt 5.0.18
Toolkits = ArchiveUpload, Exif, Ffmpeg, ImageMagick, NetPBM, Gd
Operating system = Linux amd64-3000 2.6.15-1.2009.4.2_FC5 #1 SMP Thu Mar 2 18:10:22 EST 2006 x86_64
Browser = Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20060217 Fedora/1.7.12-5.5

any help appreciated.

sean

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sun, 2006-03-05 22:17

Link to your phpinfo please, mod_rewrite might not actually be enabled.

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

 
netdudefl

Joined: 2006-04-09
Posts: 1
Posted: Sun, 2006-04-09 06:41

Same problem here. Link to phpinfo: http://gallery.gotx.net/info.php

 
donpdonp

Joined: 2006-05-01
Posts: 1
Posted: Mon, 2006-05-01 14:56
seandarcy wrote:
>For whatever reason, Gallery did not detect a working mod_rewrite setup. If you I ran each of the tests. Both gave FAIL_NO_REWRITE

im running apache2 from darwin ports on OS X and I get the same problem.

mod_rewrite is in phpinfo() under the apache2handler, LoadedModules section.

I have gallery2 installed in
/Volumes/Atlantic/www/gallery/

with the albums installed in
/Volumes/Atlantic/photos
(note this is outside the document root)

when i install the mod_rewrite gallery2 module, it empties the
/Volumes/Atlantic/www/gallery/.htaccess file

from httpd.conf
# mod-rewrite for "gallery"
<Directory /Volumes/Atlantic/www/gallery>
AllowOverride FileInfo Options
</Directory>

don