LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-19-2007, 07:29 PM   #1
jmoschetti45
Member
 
Registered: Oct 2004
Location: Michigan
Distribution: Debian Squeeze (2.6.32-5)
Posts: 136
Blog Entries: 1

Rep: Reputation: 17
mod_rewrite rule question


I have this in the .htaccess file:

RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://radio276.com/$1 [R,NC,L]

Now, when I go to something, like http://radio276.com/webmail/, it gets redirected to https://radio276.com.

Is there a way to make it redirect to what I originally wanted, just via https?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple mod_rewrite question dbc001 Linux - Server 0 10-22-2006 11:14 PM
Mod_rewrite question hct224 Linux - Newbie 5 02-23-2006 11:03 AM
Question about a iptables rule? rjw1678 Linux - Security 2 11-18-2005 07:46 AM
BSD PF Rule question lil_drummaboy Linux - Networking 4 12-26-2004 08:59 PM
Apache (mod_rewrite) question Wonko the Sane Linux - Software 1 06-15-2003 12:55 PM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration