Implement https on apache 2.0.55


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Implement https on apache 2.0.55
# 8  
Old 02-03-2009
Look for the following line in your config files:

Code:
LoadModule rewrite_module      modules/mod_rewrite.so
RewriteLogLevel                ###
RewriteLog                       <path>

Where ### is a number from 0 to 9 and <path> is an absolute or relative path to a file where you will keep your Rewrite logs. Change ### to 3 or greater, and set path to an existing file that can be written to by your master HTTP user.

When you start/restart the server, do you see any messages in the error_log file? (which might be in /var/log/http/error_log). How about in the rewrite_log file?
# 9  
Old 02-07-2009
Thanks for the Instruction. As you mentioned I have activated module and created the log file. Contents of the log file look like this.

66.000.00.100 - - [04/Feb/2009:21:01:26 --0900] [www.mydomain.edu/sid#8176058][rid#82cefd8/initial] (1) [per-dir /home/dir/username/public_html/pa_archive/] pass through /home/dir/username/public_html/pa_archive/
# 10  
Old 02-08-2009
That's the rewrite log. So somehow you were managing to configure the ReWrite module without enabling it. I can only imagine that your HTTP server was silently ignoring the error. Anyway, you have it working now.
# 11  
Old 02-09-2009
Actually it is not working yet. User can voluntarily type https: in order to access securely as root for http and https are the same. I am sure i missing something here but could not see.
# 12  
Old 02-10-2009
Well, now that the Rewrite log file is working, what do you see with "foobar" or https? Surely you see some lines in the rewrite pertaining to these?
# 13  
Old 02-11-2009
I give up. Thanks a bunch for your help. Instead I created different root directory for https needed sites. It is not highly efficient but works for now.
# 14  
Old 02-11-2009
Now I am running into another problem. I set
Quote:
Redirect permanent / https://mydomain.edu/securepage
And I got redirect loop error on firefox. IE even does not do anything.

Quote:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Apache - tcpdump get HTTP and HTTPS Headers

Hello I googled for "tcpdump view HOST http headers" -- that fine However can we do same for HTTPS like after the HTTPS gets decrypted by Apache ? I think this is legitimate on the server where the site is hosted since at some point the Apache itself needs to get the HOST patrameter in... (1 Reply)
Discussion started by: coolatt
1 Replies

2. Solaris

Need suggestion:- Failed HTTPS transfer to https://supportfiles.sun.com/curl

Hi Guys, I have recently started reciving below Error message Failed HTTPS transfer to https://supportfiles.sun.com/curl whenever I run /usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q -v from all Servers. Looks like the SSL certificate as Expired. Whenever I type... (4 Replies)
Discussion started by: manalisharmabe
4 Replies

3. Cybersecurity

Snort HTTPS

Is it possible to rule out in alert all HTTPS traffic or rule out all the HTTPS trafic from the alerts on snort ? (3 Replies)
Discussion started by: drd0spt
3 Replies

4. Web Development

redirect http to https in apache

i read thru a few article how to do it, but i could not get it to work the way i want it. vi ../httpd.conf Redirect permanent /dev https://servername/portal/ when i type servername, works fine. my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies

5. UNIX for Dummies Questions & Answers

Setting up HTTPS in Apache with Linux

I have recently setup a HTTP server using Apache. This was my first install of Apache, so I am very new to it. What I would now like to do is setup HTTPS for my server. Unfortunately, the official Apache 2.2 manual doesn't cover setting up HTTPS, and using Google search engine I have found... (2 Replies)
Discussion started by: SSL
2 Replies

6. UNIX for Dummies Questions & Answers

http to https Apache, AllowOverride All receives 403 err htaccess

Hi new to the forum, I have a Apache server on CentOS which hosts a web site. I've set up the SSL which has been tested as I can access my website via http and https. I would like to redirect all browsers to use https instead of http. I have created the htaccess file which contains 'Allow... (3 Replies)
Discussion started by: Sai245
3 Replies

7. Shell Programming and Scripting

How to implement this?

hi i have a file like 1,"A","B" 2,"C","D" 1,"E","F" 3,"G","H" in output i need like 3,"G","H" 1,"E","F" 2,"C","D" 1,"A","B" (12 Replies)
Discussion started by: angel12345
12 Replies

8. Shell Programming and Scripting

how to implement this

Hi all, could any of you please help me on my problem.. we are doing FTP (one report out put) from one server to another server through unix shell script program. Due to the network issues, some times FTP process is hanging. So we planned to modify the existing program with the following... (2 Replies)
Discussion started by: kishore_jasthi
2 Replies

9. UNIX for Dummies Questions & Answers

apache-ssl https-problem?

hi folks. i know that this is not a realī unix problem, itīs an apache-webserver problem, but maybe you can help me? i have installed apache & mod_ssl, done a certificate, and configured my server well, but apache only understands "http://servername", not "https://servername". any ideas? ... (1 Reply)
Discussion started by: loitschix
1 Replies
Login or Register to Ask a Question