[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Incorrect Realm Name on RAQ 4



On Sun, 27 May 2001, mike wrote:

> Hello cobalt-users,
> 
> I  have  another  weird  little question that probably no one has ever
> asked before:
> 
> I  set  up  a  site  with  the  incorrect  domain  name. I subsequently
> corrected it. This particular site requires authentication in order to
> access the site.
> 
> The  problem  is  that  authentication  pop-up  still displays the old
> incorrect domain name as the realm.
> 
> Anyone have any idea on how to fix that?
> 
> Is there some way to search all files on the hard drive for a specific
> text  string?  I  could probably find the file that needs to be edited
> that way.
> 
> --
> Thank You...
>  
> mike 
> mailto:jns-michael@xxxxxxxx
> 

Find the site number. (ls -l /home/sites)

then, as root:

cd /usr/admserv/html/.cobalt/siteManage/siteX 
pico .htaccess

is your solution, IMO.

anyhow, you can list all the "realm files" of all over the server of a
specific file with that command:

locate .htaccess | grep siteX/

(change the X to the site number, change nothing else.)

example:

[shimi@www siteManage]$ locate .htaccess | grep site1/
/home/sites/site1/users/stats/web/.htaccess
/usr/admserv/html/.cobalt/siteManage/site1/.htaccess

 HTH,

- shimi.