.htaccess

scorpio

Joined: 2004-03-23
Posts: 2
Posted: Tue, 2004-03-23 21:57

I installed Gallery 1.4.2. on an IIS webserver. I see this in the first configuration page:

Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory c:\inetpub\wwwroot\gallery>
AllowOverride Options FileInfo
</Directory>

PLUS

Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on, first make sure that your .htaccess file is being obeyed. If it still doesn't work, you may need to reconfigure and rebuild Apache with this flag:
--enable-module=rewrite

I'd like to use short URL's. How do I do that? Users and IUSR_'s have change rights on de .htaccess file.

P.S. I searched the forums, read the FAQ's but could not find this specific issue.

----
Gallery version: 1.4.2
Apache version: IIS 5 (Win XP)
PHP version (don't just say PHP 4, please): 4.3.3.
Graphics Toolkit: ImageMagick
Operating system: Windows XP Pro, SP1 + newest updates
Web browser/version (if applicable): IE6

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-03-23 22:00

Mod_rewrite is an Apache module. You'll need something that does the same on IIS, but thats ouside the scope of our forums. Besides, I wouldn't know what you could use.:)