Configuration Requirements For JAVCMS
- PHP Version: Requires PHP only 7.4
- Best used with Apache: We recommend using Apache for the best stability.
- Apache/Nginx Configuration
Apache Configuration
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] Rewrite ^/javcms.php(.*)$ /javcms.php?s=$1 last; </IfModule>
Nginx Configuration
location / { if (!-e $request_filename) { rewrite ^/index.php(.*)$ /index.php?s=$1 last; rewrite ^/admin.php(.*)$ /admin.php?s=$1 last; rewrite ^/api.php(.*)$ /api.php?s=$1 last; rewrite ^(.*)$ /index.php?s=$1 last; break; } }
Was this article helpful?
0 out of 0 found this helpful