LinuxQuestions.org
Visit Jeremy's Blog.
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 02-10-2009, 08:35 AM   #1
uks
Member
 
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
Rewrite rule in ssl.conf


Hi

In the ssl.conf of my server xxx.com I have the follwoing:


<IfModule mod_rewrite.c>

RewriteEngine On

RewriteRule ^/(.*) \
http://192.168.76.111:8080/VirtualHostBase/\
https/%{SERVER_NAME}:443/VirtualHostRoot/$1 [L,P]

</IfModule>


So now if I access https://xxx.com it automatically redirects to http://192.168.76.111:8080

So far so good.

Now I want this to be redirected only when I type https://xxx.com/zport and not when i type https://xxx.com

How can I do this ?

Please assist.

Rgds
 
  


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
URL rewrite rule not working... vikram_cvk Linux - Software 1 12-03-2008 02:14 AM
Apache rewrite rule help kinetik Linux - Software 1 11-05-2007 11:18 AM
i need a rewrite rule!help arcow Linux - Enterprise 1 07-03-2007 05:37 AM
Exception in mod-rewrite rule Boby Programming 0 01-17-2006 07:40 PM
Help me make this rewrite rule in Apache ganninu Linux - General 8 01-07-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration