Setup global rewrite rules — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

Setup global rewrite rules

edited December 2020 in Web Server
Hi!

I'm trying to setup a couple of rewrite rules at server level. At this seems not possible I'm looking forward to know what is the best way to set those rules without need to edit manualy every domain's htaccess or vhosts files

I've found this, but it's for DirectAdmin only: https://www.vpsbasics.com/cp/how-to-add-rewrite-rules-with-openlitespeed-and-directadmin/

Is there something similar in CyberPanel?

I appreciate any help. Thanks!

Comments

  • edited December 2020
    Ok, I've found it: cyberpanel/plogical/vhostConfs.py

    It's a pitty the template is harcoded. I think it should be possible to read the templates from an external files that can be overwritten with a custom configuration.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion