- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: http --->https
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 02:54 AM
11-17-2003 02:54 AM
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:32 AM
11-17-2003 03:32 AM
Re: http --->https
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 03:55 AM
11-17-2003 03:55 AM
Re: http --->https
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 04:32 AM
11-17-2003 04:32 AM
Re: http --->https
That may be difficult to do within apache. Are you using php or cgi? If so you could do this in your main script.
Here is a link to a tutorial on how one guy used browser detection to change which css he used:
http://www.devarticles.com/art/1/425
If you definately want this in your apache server, you can try something like using the BrowserMatchNoCase directive in the setenvif.c module.
You may be able to use that to set up ssl something like this ( keep in mind I have not tested this I am just giving you an example from the top of my head ):
BrowserMatchNoCase ^Mozilla HTTPS
Or maybe you could replace HTTPS with SERVER_PORT=443
These are just some ideas, and I'm not all that confident that the best way to do this is within apache. I would recommend that all this take place inside a php or cgi script rather than your httpd.conf
I hope that helps,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 04:42 AM
11-17-2003 04:42 AM
Re: http --->https
A first webpage with this script inside
<script LANGUAGE="JavaScript">
</script>
...I thought it was possible within apache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 10:51 AM
11-17-2003 10:51 AM
SolutionRewriteRule ^/(.*) https://new.url.com/$1 [R,NE]
Should do it. See the mod_rewrite documentation for moe details (http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 10:53 AM
11-17-2003 10:53 AM
Re: http --->https
(0 pts for this one)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 10:55 AM
11-17-2003 10:55 AM
Re: http --->https
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2003 11:30 PM
11-28-2003 11:30 PM
Re: http --->https
RewriteEngine on
RewriteLog "/var/log/rewrite.log"
RewriteLogLevel 1
Redirect permanent / https://192.168.9.19/
but sure other rules works better ;-)
Thank for klink to the documentation also!!