VPS
Main PagecPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Control Panel Licensing
ServerTune ResellersResellersSpecial PromotionsServerTune SpecialsHomeAbout ServerTuneContact usTechnical SupportKB
ServerTune Main Page
Space
Space
Our most popular products:

SPECIAL PROMOTION: cPanel License $36 /month. more info

Issues, Tips, and Solutions

Protect your server with Mod Security rules written specifically for your system. more info ...

Space
Search:    Advanced search
Browse by category:
How do I force SSL for specific pages with Apache & mod_rewrite?
Printer Friendly
email to a friend
Add comment Add comment
Views: 382
Votes: 1
Comments: 0
Posted: 16 Jun, 2007
by: Support T.
* * * * *
Updated: 16 Jun, 2007
by: Support T.

Create a .htaccess file in which ever directorys you want to encrypt. In this example the directory is /andy

    RewriteEngine On
    RewriteRule ^(.*)$ https://www.DOMAIN.TLD/andy/$1 [R,L]
Other articles in this Category
document Hw can I view the modules compiled with Apache?
document Errors and Solutions
document Error Messages :: Invalid argument: core_output_filter: writing data to the network
document Error Messages :: Premature end of script headers
document Address already in use: make_sock: could not bind to address [::]:80/443
document Premature end of script headers
document HowTo view compiled modules with Apache



RSS