PDA

View Full Version : Set UseCanonicalName off or on?


vps-vince
11-10-2005, 07:01 PM
Hi,
Have a client that need to use htaccess user/password to a directory under their main domain name; i.e. theirdomain.com/securedirectory/

They have added password protection via cPanel (htaccess), but it asks to enter username/password twice. :confused:

A search for articles on Google suggests that it has to do with the way
Set UseCanonicalName is either on or off and solution seems to be turning it off.

My concern is if this would create other issues, amybe to cgi scripts as suggested here:

http://www.dkfz-heidelberg.de/spec/linux/apache/apache.deb1.html

http://httpd.apache.org/docs/1.3/misc/FAQ-G.html

My question is, can this be set just for this client domain, or is it OK anyway to do for all domains on my server?

Many thanks,

- Vince

vps-vince
11-11-2005, 10:46 AM
Anybody? :(

Thanks

vps-vince
11-13-2005, 06:36 PM
Update in case helps anyone else.
It seems that this issue was due to the client having a mixture of links, some with www and some without.

Cheers,

- Vince

Zaf
11-14-2005, 12:51 AM
Did you find a solution / workaround for this yet?
Would rewrite rules help? Tried that?