rewrite

  1. LuigiMdg

    Enable RewriteLog

    Hello everyone, I'm trying to activate the RewriteLog, I added the directive in the file: /usr/local/lsws/conf/vhosts/domain-name/vhost.conf Inserting RewriteLogLevel 9 between the IfModule LiteSpeed tags and restarting LiteSpeed, as indicated in this article...
  2. K

    Access-Control-Allow-Origin wildcard subdomains, ports and protocols

    I'm trying to enable CORS for all subdomains, ports and protocol. Typically, I'd like to enable request from origins matching (and limited to): //*.mywebsite.com:*/* Just like the guy below : The same issue with Apache They have found a way to make it work for the Apache, But what about...
  3. A

    403 after making changes .htaccess/Rewrite

    Dear All, Need your kind help to get it resolved, it was all fine i was trying to activate ReWrite activated made a few changes in .htaccess but unfortunately, it started 403 following is the log plz help. TimeLevelMessage 2020-08-15 00:49:25.459112NOTICE [testAndFixDirs]...
  4. U

    Help with rewrite

    Hello! First of all, sorry for my english. I have a major problem that I can't solve for about two days already... I can't properly write rewrite rule. What I want to do? I need my web site to ignore number of string in url. For example, I have link: www.site.com www.site.com/category/...
  5. A

    .htaccess issue in LiteSpeed Web Server

    Need help with litespeed web server .htaccess rules. http://example.com/temp/home.php is existing URL, but now what we need to rewrite is mentioned below: http://example.com/temp.php?redirect=home.php And our Existing `.htaccess` code is also given below. RewriteEngine on<br/>...
  6. P

    Rewrite help

    I have now a www -> non-www redirect running: RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L] this has worked well. -------- Now I have SSL on, and need to 301 redirect all http requests to matching https content. Also, ://www.mydomain.com...
  7. F

    Rewrite from http and www to https://non-www

    My goal is to redirect all http and www URLs to https://non-www To this end, I have written the following lines to .htaccess: RewriteEngine on RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^(.*)$...
  8. N

    Wordpress remove the index.php in urls

    i have set up wordpress in a seperate context virtual host based .. as the installation is outise the directory .. everything works fine but i can not get the rewrite rules to work so i can drop the index.php inside the urls .. could anyone help me on that ? i have a context set up with...
  9. G

    Rewrite rule for subdomains and folders, litespeed don't save rules

    Hi all! I'm newbee in litespeed and apache, and read couple of articles here and in the google before but, it doesn't work's for me. Please give me advice how to rewrite rules for litespeed within such nginx config:
  10. J

    .htaccess redirects won't all work on Lite Speed

    Hi all, Have spent 3 days trying to get all url redirects to HTTPS to work but no matter what i try i cant get all urls to redirect to https://www.domain.com have looked high and low and tried 100 different ways without luck. Any help would be great! http://www.domain.com to...
Top