• Hi,

    How do I change the htaccess file to use jabbercam on and

    It works fine on www. but not without, I have read a few posts about this but dont really understand what I need to change in the regex to cover the without www.


  • The reason of the .htaccess file is to rewrite all non www URLs to www
    in case you have $WEB_SERVICE_URL set to "http://www.your-domain…" in your config.php and you are accesing the RVC powered site without www, the script won't work. This is handled by the .htaccess file that rewrites all non www URLs to www

    # require www prefix for all urls of ANY domain & for parked domains by
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www\.               [NC]
    RewriteCond %{HTTP_HOST} ^([^.]+\.[a-z]{2,6})$ [NC]
    RewriteRule ^(.*)$       http://www.%1/$1      [R=301,L]

    in case you wish to use without www, just change the $WEB_SERVICE_URL to non www and the .htaccess to remove the www

  • RewriteEngine On
    RewriteCond %{HTTP_HOST} ^$ [NC]
    RewriteRule ^(.*)$$1 [R=301,L]
    ```*replace with your domain
    * * *
    If it is a sub-domain, you may consider deleting the .htaccess file

Log in to reply