Oxwall

#1
Hello

I try install oxwall software on openlitespeed and use cyberpanel that i was install on my GCP instance from a finished image package on google gcp market.

Here is my apache rewrite rules that i need transfer to openlitespeed:

Options +FollowSymLinks
RewriteEngine On

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>


RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php

Can someone give me 100% correct rewrite rules that working on openlitespeed and cyberpanel because this is raw apache rewrite rules

Thank you
 

Pong

Administrator
#2
Options +FollowSymLinks

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
The above is not rewrite rule and you should just remove them.

The rest are rewrite rules and you should just place them in .htaccess. As far as they work with apache, they should work with OLS. Make sure to restart OLS after any changes to .htaccess.

You can get your answer from here as well:

https://openlitespeed.org/kb/how-to-autoload-htaccess-with-openlitespeed/
 
#3
Hello

Yes, it was working i test it today.

Oxwall did install with no issues after i restart OLS :)

But i did not notice any better performance or speed then my old apache server with debian 9 that not use http3.

I use cloudflare as CDN with http3 enabled.

Thanks
 

Pong

Administrator
#4
But i did not notice any better performance or speed then my old apache server with debian 9 that not use http3.
You'd better create a new thread for a different question if your rewrite rules issue resolved.
 
Top