Hi all,
I have installed everything ok, but the server I have my gallery on doesn't have the mod_rewrite installed. I've contacted them about it and this is what they wrote me back:
Unfortunately, the mod_rewrite module is not available; but, we have compiled in our own version called mod_rewrit. It works virtually the same as mod_rewrite and can be used in the first level of your web directory only.
Can anyone tell me what that really means? Do I have to have all the files in my root directory? How does that work?
Thanks
Posts: 8194
I don't know why your host would do this, but I doubt it will work if it works only in the root directory.. You don't need mod_rewrite to run gallery--I recommend you just don't use it; it's doesn't take out much of the functionality.
Posts: 140
I know, but I really don't like those long url's :smile:
Posts: 8194
Well you can try, gallery probably won't detect mod_rewrite, so once you install gallery, change the following thing in config.php
$gallery->app->feature["rewrite"] = 0;
to
$gallery->app->feature["rewrite"] = 1;
This may or may not work...
Posts: 7985
Alas, that won't work 'cause Gallery won't put the rules in the .htaccess file unless it detects mod_rewrite in the wizard.
Instead, try starting the wizard with:
http://your.server/gallery/setup/index.php?init_mod_rewrite=1
that will fool the browser into thinking rewrite is enabled.
Posts: 1301
Thanks for that bit of information, Bharat! For some reason my gallery had stopped recognizing the mod_rewrite and re-running the setup the way you mentioned has it working again! :smile:
Much obliged!