Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Microsoft Snoops In Skype, Dissed By HP & More
It Seems I Won't Be Writing For Linux Advocates After All
Going All the Way: GPL’ing Our Theme
Zend Framework 2 Tool (ZFTool) Introduction
Hands On Embedded Linux Development Training course.
Microsoft's Linux app, Skype, gets updated
Red Hat OpenStack, Linux, Virtualization: Cloud Triple Play?
Handheld SDR Transceiver runs Linux on ARM/FPGA SoC
5 Links for Developers and IT Pros 5-24-13
Transparency Camp event report and review of new tools
more
Recent comments
How to restart icecast
11 hours 33 min ago
Dovecot mysql missing
16 hours 38 min ago
Re: Typo in your sources.list
21 hours 3 min ago
how to configure?
22 hours 51 min ago
Re: Installation successful, but I can't receive any mail...
1 day 13 hours ago
ssl
1 day 13 hours ago
No Mails could be send.... Connection refused
1 day 18 hours ago
array param function
2 days 47 min ago
Thank you so much. 2 thumbs
2 days 1 hour ago
Great post... But...
2 days 2 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 2
>
General
Force https on a directory
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
25th June 2007, 06:59
TheMaximumWeasel
Junior Member
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Force https on a directory
Is it possible to force https on a directory for example if a user tries to access that directory via http it auto redirects to https?
Max
TheMaximumWeasel
View Public Profile
Send a private message to TheMaximumWeasel
Find all posts by TheMaximumWeasel
Sponsored Links
#
2
25th June 2007, 07:24
TheMaximumWeasel
Junior Member
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} ^/mysecuredirectory/.*$
RewriteRule ^/(.+)$ https://www.mydomain.com/$1 [R]
that works fine
TheMaximumWeasel
View Public Profile
Send a private message to TheMaximumWeasel
Find all posts by TheMaximumWeasel
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
directories in /home/admispconfig/ispconfig renamed?
Spudchat
General
10
12th April 2007
19:37
Systemimager (rsync) doesn't copy all
comedit
HOWTO-Related Questions
11
19th January 2007
17:17
Mysterious Install Problem
tgansert
Installation/Configuration
5
9th May 2006
15:35
Update to 2.2.0 question
brianetilley
Installation/Configuration
10
4th March 2006
17:02
ISP install problems Debian sarge 3.1
lerra
Installation/Configuration
1
5th January 2006
16:37
All times are GMT +2. The time now is
12:55
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
11 hours 33 min ago
16 hours 38 min ago
21 hours 3 min ago
22 hours 51 min ago
1 day 13 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 47 min ago
2 days 1 hour ago
2 days 2 hours ago