Help with URL formatting please
1320Video
Joined: 2007-07-23
Posts: 21 |
Posted: Sun, 2008-05-25 16:28 |
The following information is required to get an answer: Can you guys tell me how to get rid of the "view_album.php?set_albumName=" in the URL for my galleries? I'm using an old version of Gallery1 on my old server that I'm getting rid of, here's what the URL looks like on my new server: http://72.51.34.232/gallery/view_album.php?set_albumName=album454 This is what I want it to look like (and it does on my current server): http://www.1320video.com/gallery/album454 |
|
Posts: 6818
Hello,
your webserver needs to suport URL-rewriting. If this is enabled or not is shown in step 1 of the config wizard.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 21
Thanks Jens!
I'll check that out.
It's a dedicated server so I can configure whatever I need to. If it supports it, what do I need to do?
Kyle
http://www.1320video.com
Posts: 21
bump
Kyle
http://www.1320video.com
Posts: 6818
Even with a Smiley _I_ don't like "bumps".
Anyway, did you use e.g. google for the hint given in step 1 of the configwizard?
Seems not.
You need to install/activate the mod_rewrite modul in your apache.
Then you need to make sure that php_value commands in .htaccess files are handled.
This can be done e.g. like this:
<Directory /srv/www/htdocs/gallery>
AllowOverride Options FileInfo
</Directory>
(apache restart/reload)
After this you create a .htacces file in the gallery dir and rerun the config wizard.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 21
Sorry for the impatient no0b bump, I really do appreciate the help! It's been a long frustrating weekend, sorry about that.
Kyle
Kyle
http://www.1320video.com
Posts: 6818
Ok.
If my answer was too short, just write again.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 21
Nope, that's fine, I was uploading 6500 pictures when I read this and then forgot to go back and look at the config section after they were done so I didn't get that far, shame on me ;)
I just need to find someone who can edit apache because I'm not great at that!
Kyle
http://www.1320video.com
Posts: 6818
Maybe the module is already installed, but just the .conf entry is not there.
Have a look at your phpinfo and look for mod_rewrite in Loaded Modules in the Apache2handler section
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 21
Yup, it's there in the modules section... what would I do to enable it?
Kyle
http://www.1320video.com
Posts: 21
Got it all sorted out, thanks a bunch guys!
Kyle
http://www.1320video.com