Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-26-2009, 10:08 AM   #1
Registered: May 2008
Location: Tallahassee, FL
Distribution: RHEL4, RHEL 5, OEL4, OEL5
Posts: 65

Rep: Reputation: 17
Apache 1.3_is redirecting a false subdomain possible?

Our Apache server is secured down to a non-standard SSL port and even non-standard HTTPd port. We obtained a single certificate for (port used in examples is not actual)

I have no trouble getting rewrite rules to direct specific postfix identifiers within the to new locations. What we WANT to do is intercept a non-WWW subdomain prefix on the URL and redirect to a new location, even though we do not actually have any DNS entries for the subdomains.

Example: intercepted and rewritten to

At this time I have this rule in place:

RewriteCond %(HTTP_HOST) ^pookie\.domain\.net:8888(.*)$
RewriteRule ^(.*)$ [R,NC,L]

What happens in browser is that I am warned of an invalid certificate and prompted to create an exception. With the exception I resolve to the default page in the document root directory. I am not getting redirected.

Are we crazy or can this be done?

Last edited by SteveInTallyFL; 01-26-2009 at 01:33 PM. Reason: Add to current information


modrewrite, rewrite

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
apache / mod_security: fixing false positive 950013 fryzer Linux - Server 5 05-06-2008 10:30 AM
apache / mod_security: fixing false positives jrtayloriv Linux - Server 3 03-01-2008 04:03 PM
Apache 1.3.33 and subdomain fai Linux - Software 1 07-15-2005 03:49 AM
subdomain and apache ziggie216 Linux - Newbie 1 11-12-2003 02:36 PM
Subdomain and apache! eXor Linux - Networking 1 10-13-2002 05:49 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:54 PM.

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