skip to Main Content

Apache mod_rewrite to lighttpd

I'm trying to transfer a PHP project from apache to lighttpd. I have the following rewrite in the apache: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule !.(js|ico|gif|jpg|jpeg|png|css|ttf)$ /index.php?_url=/$1 [QSA,L] I can't manage to translate it to lighttpd mod_rewrite.…

VIEW QUESTION

reverse proxy and Load balancer – Apache

Here is the Apache Reverse proxy and load balancer, the website/reports url is not coming up <IfModule mod_proxy.c> ProxyPreserveHost On <Proxy balancer://app0102> BalancerMember https://serverapp01.com BalancerMember https://serverapp02.com </Proxy> ProxyPass / "balancer://app0102/" ProxyPassReverse "/" "balancer://app0102/" </IfModule> if I point to single server,…

VIEW QUESTION

apache dispatcher rewrite query string rule

I need to rewrite a URL with a query string into another URL. For example, I have https://www.something.com/cat/man/clothing/?colourfilter=blue_red It needs to be rewritten to https://www.something.com/cat/man/clothing.html/colourfilter=blue_red I tried to follow the tutorial at https://simonecarletti.com/blog/2009/01/apache-query-string-redirects/ My current attempt is below: RewriteCond %{QUERY_STRING}…

VIEW QUESTION
Back To Top
Search