You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Norman Zhang <nz...@arkon-group.com> on 2003/12/01 21:03:44 UTC

[users@httpd] Re: Default https

> We seem to have a similar issue, as we are ONLY allowed to open 443
> on the firewall and all port 80 requests are denied.
>
> $ vi /etc/httpd/httpd.conf
>   #Listen *:80
> $ apachectl restart

Thanks. It works like a charm.

Regards,
Norman

> -----Original Message-----
>
> I tried a while back that I can have a single apache server running
> on https only. I must have http also. (i.e., User will have access to
> both http://mydomain.com and https://mydomain.com). Is this still
> true? I just want people to access https://mydomain.com only.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Thomas George <tg...@ibaset.com>.
V2.0.48...?

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca] 
Sent: Monday, December 01, 2003 2:35 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Re: Default https

On Mon, 1 Dec 2003, Thomas George wrote:

> I thought so.. but when I did a -h, it did not show up in the help
section.

It shows up for me.  Perhaps you have too old a version.

> What does the -k do..?

See:
http://httpd.apache.org/docs-2.0/programs/apachectl.html
and
http://httpd.apache.org/docs-2.0/programs/httpd.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 1 Dec 2003, Thomas George wrote:

> I thought so.. but when I did a -h, it did not show up in the help section.

It shows up for me.  Perhaps you have too old a version.

> What does the -k do..?

See:
http://httpd.apache.org/docs-2.0/programs/apachectl.html
and
http://httpd.apache.org/docs-2.0/programs/httpd.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Thomas George <tg...@ibaset.com>.
I thought so.. but when I did a -h, it did not show up in the help section.

What does the -k do..?

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca] 
Sent: Monday, December 01, 2003 1:59 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Re: Default https


On Mon, 1 Dec 2003, Thomas George wrote:

> Apache -k is used in win32 for starting apache as a service.. see:
>
> 	http://httpd.apache.org/docs-2.0/platform/windows.html#winsvc

> >I did
> >
> >$ service httpd stop
> >$ service httpd start
>
> Norman, as a newbie I would like to ask if there's a difference in effect
> doing things your way and
>
> apachectl -k restart
>
> which is how I've been restarting after httpd.conf changes on my fbsd
> server.

-k can also be used on unix.

The difference between the "service" technique and the apachectl technique
is that in the former, the OS controls the process and in the latter
apache does.  The "-k restart" technique is probably better, since it
assures that all resources have been properly freed before apache is
started again.

Even better is to use "apachectl -k graceful", which restarts apache
without dropping any existing connections.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 1 Dec 2003, Thomas George wrote:

> Apache -k is used in win32 for starting apache as a service.. see:
>
> 	http://httpd.apache.org/docs-2.0/platform/windows.html#winsvc

> >I did
> >
> >$ service httpd stop
> >$ service httpd start
>
> Norman, as a newbie I would like to ask if there's a difference in effect
> doing things your way and
>
> apachectl -k restart
>
> which is how I've been restarting after httpd.conf changes on my fbsd
> server.

-k can also be used on unix.

The difference between the "service" technique and the apachectl technique
is that in the former, the OS controls the process and in the latter
apache does.  The "-k restart" technique is probably better, since it
assures that all resources have been properly freed before apache is
started again.

Even better is to use "apachectl -k graceful", which restarts apache
without dropping any existing connections.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Thomas George <tg...@ibaset.com>.
Apache -k is used in win32 for starting apache as a service.. see:

	http://httpd.apache.org/docs-2.0/platform/windows.html#winsvc

T

-----Original Message-----
From: Marty Landman [mailto:MLandman@face2interface.com] 
Sent: Monday, December 01, 2003 1:02 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Re: Default https

At 03:43 PM 12/1/2003, Norman Zhang wrote:

>I did
>
>$ service httpd stop
>$ service httpd start

Norman, as a newbie I would like to ask if there's a difference in effect 
doing things your way and

apachectl -k restart

which is how I've been restarting after httpd.conf changes on my fbsd
server.


Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Default https

Posted by Marty Landman <ML...@face2interface.com>.
At 03:43 PM 12/1/2003, Norman Zhang wrote:

>I did
>
>$ service httpd stop
>$ service httpd start

Norman, as a newbie I would like to ask if there's a difference in effect 
doing things your way and

apachectl -k restart

which is how I've been restarting after httpd.conf changes on my fbsd server.


Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Default https

Posted by Norman Zhang <nz...@arkon-group.com>.
>> We seem to have a similar issue, as we are ONLY allowed to open 443
>> on the firewall and all port 80 requests are denied.
>>
>> $ vi /etc/httpd/httpd.conf
>>   #Listen *:80
>> $ apachectl restart
>
> You might just try a standing start to see if it breaks (since it
> really shouldn't work anyways), and then re-run the config/restart
> sequence if it breaks.
>
> $ apachectl stop
> $ apachectl start

I did

$ service httpd stop
$ service httpd start

and there's no segmentation faults. I'll report back if I experience what
you see. Thanks.

Regards,
Norman





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Default https

Posted by Thomas George <tg...@ibaset.com>.
We're still working on our server as it seems to break on occasion.. we're
not sure if it's the config/restart strategy or an intrusion.. let me know
if your web server stops responding; ...keep an eye out for segmentation
faults...

You might just try a standing start to see if it breaks (since it really
shouldn't work anyways), and then re-run the config/restart sequence if it
breaks.

$ apachectl stop
$ apachectl start

Thomas

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Norman Zhang
Sent: Monday, December 01, 2003 12:04 PM
To: users@httpd.apache.org
Subject: [users@httpd] Re: Default https

> We seem to have a similar issue, as we are ONLY allowed to open 443
> on the firewall and all port 80 requests are denied.
>
> $ vi /etc/httpd/httpd.conf
>   #Listen *:80
> $ apachectl restart

Thanks. It works like a charm.

Regards,
Norman

> -----Original Message-----
>
> I tried a while back that I can have a single apache server running
> on https only. I must have http also. (i.e., User will have access to
> both http://mydomain.com and https://mydomain.com). Is this still
> true? I just want people to access https://mydomain.com only.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org