Short URLS
brandoncolorado
Joined: 2004-12-20
Posts: 16 |
Posted: Thu, 2005-04-28 12:07 |
The Short URL mod, can anyone give me a link to it, and how to get it to work. Basically, I just want to set it up so my users can link to their galleries i.e. www.mygallery.com/?user or whatever. Thanks |
|
Posts: 389
For short URLs you need Apache mod_rewrite. Install and activate the URL Rewrite module which comes with Gallery.
Posts: 32509
what's your g2 version? beta 2?
the short url modules ships with G2. go to site admin -> modules and install AND activate the url rewrite module. then you're done.
Posts: 16
ok, yeah I have Beta2 valiant. Thanks. I found it and had some trouble configuring it. I had to create the htacess file myself. Now it says that it found it and no changes are made, but where do I go to read docs on how to use it? Does it automatically set what the short url´s will be? Is there a settings place somewhere for it? Thanks Thanks.
Posts: 16
Because of your server configuration, we are unable to properly test whether mod_rewrite is properly installed. ***Error I get***
This is a result of trying to install gallery in a non standard directory. You need to edit line 6 in /www/c/mysite/gallery2/htdocs/modules/rewrite/test/mod_rewrite/custom/.htaccess and make sure it reads RewriteBase /modules/rewrite/test/mod_rewrite/custom/
so...this line here...
RewriteBase /modules/rewrite/test/mod_rewrite/custom/
should be??
/modules/rewrite/test/mod_rewrite/custom/
Posts: 389
By default its
#RewriteBase /<Your Gallery Location>/modules/rewrite/test/mod_rewrite/custom/
In your case it should be
RewriteBase /modules/rewrite/test/mod_rewrite/custom/
Update to the latest nighly snapshot.