Home
About Us
Data Center
Dedicated RaQ
Colocated RaQ
RaqVault
Additional Services
Tech Support
Quick FAQ
Contact Info
Service Ticket

       


Cobalt RaQ: Server Maintenance and Administration FAQs

  1. Is telnet a good way to administrate my RaQ?
  2. Where do I access statistics for my individual Web sites?
  3. Where do I retrieve "access_log" files to run local reports with WebTrends or another program?
  4. How can I password protect a directory?
  5. Are there any CGI scripts or programs that can do this for me or let me or my customers manage passwords?


Is telnet a good way to administrate my RaQ? 

Cobalt provides the following warning when you telnet into your RaQ:


Managing your RaQ server by any other method than the provided GUI is NOT recommended. Only individuals comfortable in the UNIX command line environment should attempt to telnet or SSH into a RaQ.



Where do I access statistics for my individual Web sites? 

Statistics for the RaQ servers are created automatically and are available in the "Site Management" Web control panel of each particular virtual Web site.

To access, simply log into your virtual Web site's Site Management panel, click on "Web Usage" and then select which type of report you want to view. Graphs are available for 5 Minute, Hourly, Daily, and Weekly Reports, as well as Hourly and Daily Summaries.


Where do I retrieve a site's "access_log" files to run local reports with WebTrends or another program? 

The Web log files are in a file called "access" in the /home/sites/[sitename]/logs directory.



How can I password protect a directory? 

There is no browser interface to allow this feature, but a telnet session will allow this to be done.

For this example, we will show how to password protect a users Web page. You can apply this procedure to virtual sites also by changing the directories.

  1. Telnet in, and login as the User or admin.
  2. Create the ".htaccess" file (type: pico .htaccess), it should contain the following lines:

    # Access file
    order allow,deny
    allow from all
    require valid-user
    Authname DirectoryName
    AuthPAM_Enabled off
    Authtype Basic
    AuthUserFile /home/sites/<sitename>/users/<username>/.htpasswd

    **NOTE: The AuthUserFile should the file in the directory that you want to password protect. The above example shows how to protect a users home page, to use the htpasswd for all current registered RaQ 2 users enter /etc/htpasswd for the AuthUserFile.
    (Skip step #3 if you are using the "/etc/htpasswd" file for your authorization)

  3. Now we want to create the ".htpasswd" file using the htpasswd command in the "/usr/bin/" directory. Type:

    /usr/bin/htpasswd -c /home/sites/<sitename>/users/<username>/.htpasswd <user name you want to add>

    It will prompt you for the password twice.
    Example:

    /usr/bin/htpasswd -c /home/sites/site1/web/.htpasswd joe
    Enter passwd: ******
    Enter passwd again: ******
    Done.

    This would put the ".htpasswd" file in the Web site's document root directory.
    NOTE: when adding additional users remove the -c (create new file option) from the command line!



Are there any CGI scripts or programs that can do this for me or let me or my customers manage passwords? 

For additional help and/or more user-friendly tools for password protection, try the following list of scripts and tools (some are free, some have a cost): Password Protection Tools.