custom redirect query

blacknight

Verified User
Joined
Jan 30, 2004
Messages
253
Location
Ireland
One of our clients has requested the following:

Code:
Basically in apache's httpd.conf file I would like to add the [R] flag after
the rewrite rule which changes domain.tld to
[url]www.domain.tld[/url]

I know that it isn't a rewrite :)

What I was wondering, however, is if there is any way of adding this to httpd.conf without it being overwritten?

I suppose the other alternative would be for them to use a mod_rewrite rule in a .htaccess

Any thoughts?
 
From the admin level goto Custom HTTPD Configurations.
You should be able to add it there for only that domain.
 
jmstacey - I looked at that, but it gave me the impression that the default settings could not be changed ie. I could add extra settings, but not add new ones to replace or override the existing entries

Was I wrong? :)
 
jmstacey

Thanks for that, but if it requires that level of mucking about the .htaccess solution would be neater.. If we need to reinstall the server, restore from backups or whatever I really don't want anything too different lying around :)
 
Back
Top