LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-29-2005, 12:03 PM   #16
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39

I went through your suggested procedure, and after turning off apache, the
ps -ef|grep httpd|grep -v grep command did not show any instances of httpd running on the system.
 
Old 12-30-2005, 01:39 AM   #17
british_76
Member
 
Registered: Dec 2003
Distribution: kubuntu breezy badger
Posts: 30

Rep: Reputation: 15
so.... you may try to find out who is using/blocking port 443 AFTER you stopped the httpd-server you started by yourself.

STOP httpd: "service httpd stop" (or what else you use)
check port 443: "lsof -i TCP:443"

what you konsole shows now, is the programm, that is blocking the port appache would need so hard.

if lsof shows anything up, than you should kill this process by

"pkill processname"
OR
"kill -9 PID"
(.... ok ... it's not a gentle way, but it should work)

btw: if you have just one set of apache-binaries in /usr/sbin-Directory does NOT mean, that there can just be ONE apache-instance running.
you also have just one /usr/bin/konsole-binary, but you can start this binary as much often as you like.

greetinx!
gottfried
 
Old 12-30-2005, 06:20 PM   #18
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
I solved the problem with the redirect. I had a hunch that the iptables file had a syntax error with port 80. I checked it out, and there was indeed such an error. Once I corrected it and restarted the daemon. The redirect worked.
 
Old 10-09-2006, 04:47 AM   #19
xinea
LQ Newbie
 
Registered: Oct 2006
Distribution: kubuntu dapper
Posts: 3

Rep: Reputation: 0
redirect http to https apache2

hi..

I'm running Apache 2.0.55 on kubuntu.. and I'm trying to redirect traffic on port 80 to 443... I viewed many suggestions... the problem is I'm not finding the file /etc/httpd/conf/httpd.conf (neither the folders httpd and conf)... what shall I do?

Thanks in advance...

Last edited by xinea; 10-09-2006 at 05:08 AM.
 
Old 10-09-2006, 07:48 AM   #20
jimvin
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by xinea
hi..

I'm running Apache 2.0.55 on kubuntu.. and I'm trying to redirect traffic on port 80 to 443... I viewed many suggestions... the problem is I'm not finding the file /etc/httpd/conf/httpd.conf (neither the folders httpd and conf)... what shall I do?

Thanks in advance...
Hi,
Your configuration files for apache are somewhere else. If Apache is running try...

$ ps -ef | grep httpd

This will show you any httpd processing running. The command line will most likely give you an indication of where you should be looking for the configuration. Check to see if there is an /etc/apache2 directory, the name may be slightly different to the one you expect.

Regards,
Jim
 
Old 10-10-2006, 02:09 AM   #21
xinea
LQ Newbie
 
Registered: Oct 2006
Distribution: kubuntu dapper
Posts: 3

Rep: Reputation: 0
re:redirect http to https apache2

~~~~~~~~~~
Hi,

Your configuration files for apache are somewhere else. If Apache is running
try...

$ ps -ef | grep httpd

This will show you any httpd processing running. The command line will most
likely give you an indication of where you should be looking for the
configuration. Check to see if there is an /etc/apache2 directory, the name may
be slightly different to the one you expect.

Regards,
Jim


~~~~~~~~~~
Hey,

Thank you Jim.. I found it in /etc/apache2...

and i succeeded in redirecting my http traffic to https!

Thank you again for your time....
xinea

Last edited by xinea; 10-18-2006 at 05:12 AM.
 
  


Reply



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 VirtualHost Redirect Problem... SiLiCoN Linux - Networking 5 05-03-2005 08:41 AM
Apache URL redirect problem kdogksu Linux - Networking 2 03-26-2005 02:22 PM
apache redirect question twk Linux - Networking 2 10-23-2004 01:03 AM
redirect in Apache baslemmens Linux - Networking 6 09-02-2004 12:07 PM
apache redirect? fibbi Linux - Software 7 01-30-2004 10:41 PM

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

All times are GMT -5. The time now is 06:01 PM.

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