Re: [users@httpd] PHP page only accessible via SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




One other thing to consider is the Rewrite rules you can put in httpd.conf

RewriteEngine On
# Force to https
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^/admin.php         https://yourhostname/$1 [L,R]
#
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux