Files
scc_pg_admission_2025/.htaccess
ns77@siliconpin.com 5c1e30c087 initial commit
2025-08-18 12:05:35 +00:00

15 lines
432 B
ApacheConf

#AuthType Basic
#AuthName "Your authorization required message."
#AuthUserFile /home/dev/.htpasswd
#require valid-user
RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php