gallery url troubles

jeff_duncan

Joined: 2009-11-04
Posts: 7
Posted: Wed, 2009-11-04 23:51

Hello. I want to change the default gallery2 url to gallery. I have made the change by modifying the Alias in /etc/gallery2/apache.conf like this...

Alias /gallery /usr/share/gallery2

....and this works in the general, however in some cases I am getting 404 errors when I am working within the admin pages, or for instance, when trying to log in. The URL changes back to gallery2. If I edit the url in the browser manually and change it back to gallery, it works fine for a while. What/where else to I need to change?

Thanks,

Jeff


Gallery version 2.3
PHP version 5.2.6-1
PHPInfo Link
Webserver Apache 2.2.9 (Debian)
Database MySql
Activated toolkits (e.g. NetPbm, GD):
Operating system Linux
Browser Firefox

Login or register to post comments
jeff_duncan

Joined: 2009-11-04
Posts: 7
Posted: Thu, 2009-11-05 00:07

Update: I was able to change config.php to use the new url and it seems to work now. I saw that I may need to disable/enable mod_rewrite. This is not installed according to the plugins section.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9271
Posted: Thu, 2009-11-05 00:15

I wouldn't change it there. Just do this:
FAQ: How can I move my gallery installation from one folder to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments