httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: [users@httpd] can .htaccess make url better ?
Date Mon, 08 Mar 2010 14:10:48 GMT

On Mar 8, 2010, at 4:15 AM, J. Bakshi wrote:

> Hello list,
> the click enlarge facility of an image gallery generates the links  
> in a
> very ugly manner, like
> ````````````````

> <body>&wrap=%20|%20&md5=9021563e8e2c9efadb629ddd197f22bf
> ````````````````
> Is it somehow possible to generate the link little nicer by the help  
> of
> .htaccess ?

It is possible, using mod_rewrite, to make most URLs look different.  
One person's notion of nice may be different from another. I would,  
however, recommend that you ask this question of users of this  
particular image gallery software, as they very likely have a standard  
way of doing what you're trying to do.

Failing that, I would suggest that you look at the mod_rewrite docs (

  and and see if there's  
something there that does what you need.

Also, note that .htaccess files are merely one of the places that you  
can put configuration directives. When possible, you should try to put  
directives in the server configuration file rather than in .htaccess  

Rich Bowen
View raw message