Re: [us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - control URI access byclient IP Address - Email has different SMTP TO: and MIME TO: fields in the email addresses
* Todd Simons [2009-03-05 00:25]: > Please confirm: > > > Allow from 10.3.2.0/24 > ProxyPass /dev3/app2/ http://internalhost3/dev3/app2/ > ProxyPassReverse /dev3/app2/ http://internalhost3/dev3/app2/ > > > ...when I made this modification, my apache fails to start Make sure you use `apachectl -t` to test your config. And that's now how it works: > See the end of the ProxyPass directive docs at > http://httpd.apache.org/docs/2.2/en/mod/mod_proxy.html#proxypass where it says: "When used inside a section, the first argument is omitted and the local directory is obtained from the ." cheers, -peter -- peter.scho...@univie.ac.at - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] MOD_PROXY Reverse Proxy
* Todd Simons [2009-03-05 02:39]: > I assume that I would build a to match the > ProxyPass/ProxyPassReverse path statements? [..] > I tried this and it didn't work. http://httpd.apache.org/docs/2.2/en/mod/core.html#directory "Enclose a group of directives that apply only to the named file-system directory and sub-directories" The local path to the ProxyPass is not part of your file system. cheers, -peter -- peter.scho...@univie.ac.at - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] how to do a Password protection for a RewriteRule based VirtualHost
ServerName mydomain.com RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/www.mydomain.com:80/site1/VirtualHostRoot/$1 [L,P] ErrorLog /var/log/apache/mysite.com/error_log CustomLog /var/log/apache/mysite.com/access.log combined Now every one can access the site mydomain.com But I want to restrict this access toa group of members .. when they type www.mydomain.com it should promt for a username and password .. I know I can do it for directories but is it possible for RewriteRule section ? How can we do it ? Any hints & suggestions most welcome Thanks in advance KK
[us...@httpd] problems with mod_proxy_html
Hi!I have 2 problems with mod_proxy_html:1.I need to rewrite only relative URLs but not absolute in scripts. My config: ProxyHTMLExtended On ProxyHTMLURLMap / /new/path RequestHeader unset Accept-EncodingThe problem is that this rewrites also absolute URLs - any advice?2.I need to rewrite URL in option value="" - it seems to mod_proxy_html doesn't rewrite this - any advice?
[us...@httpd] problems with mod_proxy_html
Hi!I have 2 problems with mod_proxy_html:1.I need to rewrite only relative URLs but not absolute in scripts. My config: ProxyHTMLExtended On ProxyHTMLURLMap / /new/path RequestHeader unset Accept-EncodingThe problem is that this rewrites also absolute URLs - any advice?2.I need to rewrite URL in option value="" - it seems to mod_proxy_html doesn't rewrite this - any advice?
[us...@httpd] problems with mod_proxy_html
Hi!I have 2 problems with mod_proxy_html:1.I need to rewrite only relative URLs but not absolute in scripts. My config: ProxyHTMLExtended On ProxyHTMLURLMap / /new/path RequestHeader unset Accept-EncodingThe problem is that this rewrites also absolute URLs - any advice?2.I need to rewrite URL in option value="" - it seems to mod_proxy_html doesn't rewrite this - any advice?
Re: [us...@httpd] how to do a Password protection for a RewriteRule based VirtualHost
On Thu, Mar 5, 2009 at 11:01 AM, KK CHN wrote: > I know I can do it for directories but is it possible for RewriteRule > section ? How can we do it ? You can apply authentication to any URL using sections, and you can apply restrictions to proxying using sections. It's all in the manuals. Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] HTTP Server connection hangs
Hello, I am rather unfamiliar with HTTP Server requirements. I am trying to implement a simple HTTP 1.1 server that receives a GET request, and transfers a 3gp (video) file to the client. All works fine except the fact that the client gets the file, but does not close the connection. I do not have the length of the content I send out, so I cannot declare it. Here are the headers I use: statusCode: 200 Server: MyServer... Date: Content-type: video/3gp connection: close What am I missing? Thanks, -- View this message in context: http://www.nabble.com/HTTP-Server-connection-hangs-tp22350633p22350633.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] HTTP Server connection hangs
On Thu, Mar 5, 2009 at 7:27 AM, ginsohn wrote: > > Hello, > I am rather unfamiliar with HTTP Server requirements. I am trying to > implement a simple HTTP 1.1 server that receives a GET request, and > transfers a 3gp (video) file to the client. All works fine except the fact > that the client gets the file, but does not close the connection. > I do not have the length of the content I send out, so I cannot declare it. > > Here are the headers I use: > statusCode: 200 > Server: MyServer... > Date: > Content-type: video/3gp > connection: close > Connection: close means the server will close the connection when the content is transferred, so you're not waiting for the client to do so. -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - Email has different SMTP TO: and MIME TO: fields in the email addresses
So then how would I do it? Is it possible? -Original Message- From: Peter Schober [mailto:peter.scho...@univie.ac.at] Sent: Thursday, March 05, 2009 3:37 AM To: users@httpd.apache.org Subject: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - Email has different SMTP TO: and MIME TO: fields in the email addresses * Todd Simons [2009-03-05 02:39]: > I assume that I would build a to match the > ProxyPass/ProxyPassReverse path statements? [..] > I tried this and it didn't work. http://httpd.apache.org/docs/2.2/en/mod/core.html#directory "Enclose a group of directives that apply only to the named file-system directory and sub-directories" The local path to the ProxyPass is not part of your file system. cheers, -peter -- peter.scho...@univie.ac.at - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org -h...@httpd.apache.org ## Scanned by Delphi Technology, Inc. ## - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] HTTP Server connection hangs
Eric Covener wrote: > > On Thu, Mar 5, 2009 at 7:27 AM, ginsohn wrote: >> >> Hello, >> I am rather unfamiliar with HTTP Server requirements. I am trying to >> implement a simple HTTP 1.1 server that receives a GET request, and >> transfers a 3gp (video) file to the client. All works fine except the >> fact >> that the client gets the file, but does not close the connection. >> I do not have the length of the content I send out, so I cannot declare >> it. >> >> Here are the headers I use: >> statusCode: 200 >> Server: MyServer... >> Date: >> Content-type: video/3gp >> connection: close >> > > Connection: close means the server will close the connection when the > content is transferred, so you're not waiting for the client to do so. > > -- > Eric Covener > cove...@gmail.com > > Hi, > Thanks for the reply. I've tried to avoid explicit session.close(), and > used response.finishedWriting() instead. Do I have to explicitly close the > session? Can't I signal the client any other way? > > Thanks, > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > > -- View this message in context: http://www.nabble.com/HTTP-Server-connection-hangs-tp22350633p22352776.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] mod_proxy_ajp: (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*)
Could this help you? http://www.jboss.org/community/docs/DOC-12529 Ivars Going over the 8K AJP headers limits: The default size of a AJP package is 8K as the http headers are sent only in the first packet it could be needed to overcome the limit. To reach this you need to add packetSize parameter in the parameter like: | | and ProxyIOBufferSize (also LimitRequestFieldsize probably) directive in httpd.conf too. For example: | ProxyIOBufferSize 19000 LimitRequestFieldsize 18000 | packetSize is supported since Tomcat 5.5.21 and Tomcat 6.0.1. Torsten Krah wrote: Hi, i am facing some problems connecting tomcat ajp with apache through mod_proxy_ajp: The log shows often something like this: # ajp_marshal_into_msgb - No such method ssiers%2FM%25C3%25BCllskandal%22%3B%7D ajp_send_header: ajp_marshal_into_msgb failed (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*) request failed: error reading the headers ajp_marshal_into_msgb: Error appending the header value ajp_send_header: ajp_marshal_into_msgb failed (120001)APR does not understand this error code: proxy: AJP: request failed to (null) (*) # According to the error.log messages code 400 bad request are shown in access.log - looking at the timestamps i guess they are connected to each other. Reading through the lists i did found following archive message: http://www.mail-archive.com/us...@tomcat.apache.org/msg57693.html The answer is that the request headers have to fit into 8Kb or the request fails. Looking at the failing request the cookie information is more than 8Kb. Looking at the AJP3 docs here: http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html reading at the end this scenario is mentioned and causes a failing connector. Looking at the apache docs: http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html there is only mentioned that the packet size is 8Kb (much of the code ...). The failure case question is missing here. So my question is - have i have to force the application to minimize the cookie size to get the request header into the first 8Kb packet or is there another way how to handle this? http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize With this directive the maximum header size can be increased - does this work for mod_proxy_ajp too? thx for help Torsten - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] RE: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - Email has different SMTP TO: and MIME TO: fields in the email addresses
On Thu, Mar 5, 2009 at 9:27 AM, Todd Simons wrote: > So then how would I do it? Is it possible? Are you intentionally creating new threads for each response, or is it something your mail client / infrastructure is causing? It would also help your issue get attention if you selectively quoted and responded in-line. http://en.wikipedia.org/wiki/Posting_style#Top-posting -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] HTTP Server connection hangs
On Thu, Mar 5, 2009 at 9:33 AM, ginsohn wrote: >> >> Hi, >> Thanks for the reply. I've tried to avoid explicit session.close(), and >> used response.finishedWriting() instead. Do I have to explicitly close the >> session? Can't I signal the client any other way? Sorry, I thought you were implementing your own HTTP Server and concerned with generating all of this yourself. These objects and methods don't mean anything to me. You can use chunked encoding to signal the end of content whose length you don't know. It's defined in rfc2616. -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] mod_proxy_ajp: (120010)APR does not understand this error code: proxy: AJP: request failed to (null) (*)
Am Donnerstag, 5. März 2009 16:10:54 schrieb Ivars Strazdiņš: > Could this help you? > http://www.jboss.org/community/docs/DOC-12529 thx - this helped. increasing packetSize on ajp connector + apache does work. Torsten -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
[us...@httpd] Apache port help
Hello, I am hosting my webpage on port 8080 so the address is http://intranet:8080 and you have to type that to get to it. Well I would just like it if my users just had to type http://intranet and apache will do the rest. I have tried the Rewrite and Proxy but with no luck. Could someone please help me out? thanks Tim Ford This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
Stupid question..why not just run it on port 80? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:33 AM To: users@httpd.apache.org Subject: [us...@httpd] Apache port help Hello, I am hosting my webpage on port 8080 so the address is http://intranet:8080 and you have to type that to get to it. Well I would just like it if my users just had to type http://intranet and apache will do the rest. I have tried the Rewrite and Proxy but with no luck. Could someone please help me out? thanks Tim Ford This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
At 10:33 AM 3/5/2009, you wrote: Hello, I am hosting my webpage on port 8080 so the address is http://intranet:8080 and you have to type that to get to it. Well I would just like it if my users just had to type http://intranet and apache will do the rest. I have tried the Rewrite and Proxy but with no luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
Tim Ford wrote: Hello, I am hosting my webpage on port 8080 so the address is http://intranet:8080 and you have to type that to get to it. Well I would just like it if my users just had to type http://intranet and apache will do the rest. I have tried the Rewrite and Proxy but with no luck. Could someone please help me out? Hi. 1) The port on which the webserver listens for requests (8080 presently in your case) is entirely configurable on the server side. 2) 80 is the default port for the http protocol, so that when a user tries "http://intranet";, it is the same as when they enter "http://intranet:80";. 3) in your Apache main configuration file, there is a line that says "Listen 8080" By changing that to "Listen 80", you will change the port Apache is listening on, and thus attain your stated goal. 4) but (of course there is one), there can only be one server (program) (like Apache) listening on any given port at any given time on the same host computer. It may thus be that some other program is already listening on port 80 on your host computer, and that this may be the reason why your Apache is configured to use port 8080. If you try changing the Listen configuration line above to port 80, and try to restart Apache, and it does not start, then that is probably the case. Try it, and post back here if you still have a problem. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
Thanks, I have apache set to listen on port 8080. When I type http://intranet:8080 it works but I want my users to just type in http://intranet and apache converts it for them. Its either mod_rewrite or mod_proxy. thanks Tim Ford -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, March 05, 2009 1:46 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help Tim Ford wrote: > Hello, I am hosting my webpage on port 8080 so the address is > http://intranet:8080 and you have to type that to get to it. Well I > would just like it if my users just had to type http://intranet and > apache will do the rest. I have tried the Rewrite and Proxy but with no > luck. Could someone please help me out? > Hi. 1) The port on which the webserver listens for requests (8080 presently in your case) is entirely configurable on the server side. 2) 80 is the default port for the http protocol, so that when a user tries "http://intranet";, it is the same as when they enter "http://intranet:80";. 3) in your Apache main configuration file, there is a line that says "Listen 8080" By changing that to "Listen 80", you will change the port Apache is listening on, and thus attain your stated goal. 4) but (of course there is one), there can only be one server (program) (like Apache) listening on any given port at any given time on the same host computer. It may thus be that some other program is already listening on port 80 on your host computer, and that this may be the reason why your Apache is configured to use port 8080. If you try changing the Listen configuration line above to port 80, and try to restart Apache, and it does not start, then that is probably the case. Try it, and post back here if you still have a problem. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
At 10:53 AM 3/5/2009, you wrote: Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. By 'another web page' I'm assuming you mean another webserver? So you'd need to look at whatever that webserver is, and perhaps a HTML page with a redirect to http://yourwebserver.com:8080 ... - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your port 80 web server, unless you have other things like virtual hosts running on it. What's the URL for the port 80 web server if the port 8080 one is http://intranet:8080? Is it a different hostname in the url? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:53 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
Yes I have IIS running on port 80 hosting another webpage on the same server that apache is installed on. Tim Ford -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:59 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help At 10:53 AM 3/5/2009, you wrote: >Okay, the reason why its running on port 8080 is because I have another >webpage running on 80 on the same server. By 'another web page' I'm assuming you mean another webserver? So you'd need to look at whatever that webserver is, and perhaps a HTML page with a redirect to http://yourwebserver.com:8080 ... - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
The url running on port 80 is http://chdb Tim Ford -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 2:01 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your port 80 web server, unless you have other things like virtual hosts running on it. What's the URL for the port 80 web server if the port 8080 one is http://intranet:8080? Is it a different hostname in the url? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:53 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
At 11:01 AM 3/5/2009, you wrote: Yes I have IIS running on port 80 hosting another webpage on the same server that apache is installed on. Then you'd need to have your index.html or whatever your default page for IIS is redirect to your port 8080 page. ie http://www.yourdomain.com:8080/index.html";> - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
Since your port 80 server is IIS that's what you'll have to do the redirection from. This becomes a question for an IIS forum/mailing list. You should just bind a separate IP for intranet to the physical server, resolve the intranet hostname to that IP, and then run apache on port 80 on that ip with: Listen x.x.x.x:80 -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 12:03 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help The url running on port 80 is http://chdb Tim Ford -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 2:01 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your port 80 web server, unless you have other things like virtual hosts running on it. What's the URL for the port 80 web server if the port 8080 one is http://intranet:8080? Is it a different hostname in the url? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:53 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@
RE: [us...@httpd] Apache port help
Oh, and if you go the separate ip route, make sure you change IIS so that it doesn't listen on all IPs, just the main one. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 12:08 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Since your port 80 server is IIS that's what you'll have to do the redirection from. This becomes a question for an IIS forum/mailing list. You should just bind a separate IP for intranet to the physical server, resolve the intranet hostname to that IP, and then run apache on port 80 on that ip with: Listen x.x.x.x:80 -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 12:03 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help The url running on port 80 is http://chdb Tim Ford -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 2:01 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your port 80 web server, unless you have other things like virtual hosts running on it. What's the URL for the port 80 web server if the port 8080 one is http://intranet:8080? Is it a different hostname in the url? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:53 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please no
Re: [us...@httpd] Apache port help
IIS is hosting a completely different web page and doesn't communicate with the web page being hosted with apache. So I can't do redirect with iis. Tim Ford IT Manager PHMC www.phmc.org Sent from Verizon wireless device - Original Message - From: Anthony J. Biacco To: users@httpd.apache.org Sent: Thu Mar 05 14:09:58 2009 Subject: RE: [us...@httpd] Apache port help Oh, and if you go the separate ip route, make sure you change IIS so that it doesn't listen on all IPs, just the main one. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 12:08 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Since your port 80 server is IIS that's what you'll have to do the redirection from. This becomes a question for an IIS forum/mailing list. You should just bind a separate IP for intranet to the physical server, resolve the intranet hostname to that IP, and then run apache on port 80 on that ip with: Listen x.x.x.x:80 -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 12:03 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help The url running on port 80 is http://chdb Tim Ford -Original Message- From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] Sent: Thursday, March 05, 2009 2:01 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help There is no way for http://intranet to go directly to the web server on port 8080. You'd have to configure something on the web server on port 80 to forward to 8080 IN the port 80 web server, you could do a: RedirectPermanent / http://intranet:8080 But then that kind of defeats the purpose of your port 80 web server, unless you have other things like virtual hosts running on it. What's the URL for the port 80 web server if the port 8080 one is http://intranet:8080? Is it a different hostname in the url? -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 11:53 AM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Okay, the reason why its running on port 8080 is because I have another webpage running on 80 on the same server. Tim Ford tf...@phmc.org -Original Message- From: Evan Platt [mailto:e...@espphotography.com] Sent: Thursday, March 05, 2009 1:45 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help At 10:33 AM 3/5/2009, you wrote: >Hello, I am hosting my webpage on port 8080 so the address is >http://intranet:8080 and you have to type that to get to it. Well I >would just like it if my users just had to type http://intranet and >apache will do the rest. I have tried the Rewrite and Proxy but with no >luck. Could someone please help me out? So you have Apache running on port 80 and port 8080? Why not just use port 80? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...
RE: [us...@httpd] Apache port help
> > 4) but (of course there is one), there can only be one server (program) > (like Apache) listening on any given port at any given time on the same > host computer. Not at all true any more. Modern Windows OS (Windows XP and up ) systems allows (near 100) processes to use the same IP / Port at the same time. In fact, even the Windows admin's automation tool, powershell.exe, on the command line, can use the same port that other Windows processes use! Web Servers Web Services Databases Commamnd line processes All at the same time, on the same IP / Port! Just and FYI _ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
RE: [us...@httpd] Apache port help
At 11:19 AM 3/5/2009, you wrote: Not at all true any more. Modern Windows OS (Windows XP and up ) systems allows (near 100) processes to use the same IP / Port at the same time. In fact, even the Windows admin's automation tool, powershell.exe, on the command line, can use the same port that other Windows processes use! Web Servers Web Services Databases Commamnd line processes All at the same time, on the same IP / Port! I think we're talking about two different things. You can't have say IIS and Apache listen on the same IP and the same port. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
* Tim Ford [2009-03-05 19:57]: > Thanks, I have apache set to listen on port 8080. When I type > http://intranet:8080 it works but I want my users to just type in > http://intranet and apache converts it for them. Its either > mod_rewrite or mod_proxy. No. If your users don't specify any port (and just enter http://intranet) their webbrowser connects to port 80, thereby speaking directly with M$-IIS in your case. Your httpd on port 8080 never gets to see the request, hence there is nothing you can do with mod_rewrite or mod_proxy in httpd. You could proxy from M$-IIS to your httpd (if that's possible and you know how), but that's not a question for this list. Or maybe twist the ports around and let M$-IIS listen on a non-standard port (like 8080) and httpd on port 80. *Then* configure proxying of certain request to M$-IIS. But this would probably change URLs for whatver M$-IIS was serving, so it all depends on what you want and how much work you're willing to invest. cheers, -peter -- peter.scho...@univie.ac.at - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140 - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
> >Not at all true any more. Modern Windows OS (Windows XP > >and up ) systems allows (near 100) processes to use the same > >IP / Port at the same time. > > > >In fact, even the Windows admin's automation tool, > >powershell.exe, on the command line, can use the > >same port that other Windows processes use! > > > >Web Servers > >Web Services > >Databases > >Commamnd line processes > > > >All at the same time, on the same IP / Port! > > I think we're talking about two different things. > > You can't have say IIS and Apache listen on the same IP and the same port. > Sure one could if ASF followed modern Windows HTTP usage and used the http.sys object that all these other Windows processes use! This one port only open way (here port 80, but can be any port) is very useful for all newer Windows processes! Also the ports can be any HTTP, TCP, PIPES, MESSAGES four protocols of sharing not just HTTP only usage! This is also why IIS 7 Vista now serves all requests too - http.sys cache usage - even when sharing with other http.sys Windows processes! Some say IIS 7 is what Apache was suppose to be - modules, core, whatever - the freedom to write one's own modules (In .NET or C++, etc.). A lot has changed in this modern WEB world. Perhap Apache on Windows needs updating? _ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
Re: [us...@httpd] Apache port help
On Thu, Mar 5, 2009 at 2:14 PM, Tim Ford wrote: > IIS is hosting a completely different web page and doesn't communicate with > the web page being hosted with apache. So I can't do redirect with iis. Not familiar with IIS, but if it's remotely HTTP compliant and remotely modern in its capabilities, then this is not an issue. The problem is, when people connect to your IP address through their browser without specifying a port number, it assumes port 80, which is where IIS is connected to. IIS is therefore the only entity that can redirect the request to another port. Since you mentioned the two sites have different names ("intranet" and "chdb"), you should be able to set up IIS to recognize the difference by checking the HTTP/1.1 "Host" header. If you're able to do so, then you should be able to issue an HTTP redirect to http://intranet:8080 when the Host header is set to "intranet". This will tell the browser to make a new request to the specified address. The URL with port number will still show up in the address bar, but they don't have to remember to enter it themselves. The other alternative, as mentioned, is to set up IIS to proxy to your apache server. The idea is the same, check the Host header and respond differently when the request is made to "intranet" then when it's made to "chdb". Proxying is more complicated, but it's probably the only option if you don't want the port number to show up in address line (other than ditching either IIS or Apache and serving both sites from one server). Both of these solutions are definitely outside the scope of this mailing list though. Like someone said, you'll want to check IIS documentation of forums. The term you're most likely looking for is "name-based virtual hosting". Hope that helps, -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
You need to create a new website in IIS with your internal dns name http://internal in your examples. Then set it to redirect to http://internal:8080 Most of that is covered in this MS page: http://support.microsoft.com/?id=324287 The redirect isn't. But once you have the new "website" setup (I'm pretty sure that is what IIS calls it, not a virtual host), you can right click on it, go to Properties and probably figure out how to make the redirect happen. On Mar 5, 2009, at 1:14 PM, Tim Ford wrote: IIS is hosting a completely different web page and doesn't communicate with the web page being hosted with apache. So I can't do redirect with iis. Tim Ford IT Manager PHMC www.phmc.org Sent from Verizon wireless device - Shawn Parr Academic Services Northwestern State pa...@nsula.edu
RE: [us...@httpd] Apache port help
Thanks everyone I found what I needed! Tim Ford From: Shawn Parr [mailto:pa...@nsula.edu] Sent: Thursday, March 05, 2009 3:10 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help You need to create a new website in IIS with your internal dns name http://internal in your examples. Then set it to redirect to http://internal:8080 Most of that is covered in this MS page: http://support.microsoft.com/?id=324287 The redirect isn't. But once you have the new "website" setup (I'm pretty sure that is what IIS calls it, not a virtual host), you can right click on it, go to Properties and probably figure out how to make the redirect happen. On Mar 5, 2009, at 1:14 PM, Tim Ford wrote: IIS is hosting a completely different web page and doesn't communicate with the web page being hosted with apache. So I can't do redirect with iis. Tim Ford IT Manager PHMC www.phmc.org Sent from Verizon wireless device - Shawn Parr Academic Services Northwestern State pa...@nsula.edu This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
>> > Not familiar with IIS, > IIS is therefore the only entity that can > redirect the request to another port. One should define terms IIS6, 7, 7.5 do not redirect or send responses http.sys does this - and also does for any other Windows process that uses http.sys. FYI _ Windows Live™ Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009
Re: [us...@httpd] Apache port help
Flowering Weeds wrote: Perhap Apache on Windows needs updating? Perhap Apache on Windows needs to have patches offered. HTTP.SYS is an interesting technology and certainly fits the profile for an entirely separate MPM and core network stack, unrelated to the conventional httpd server. Several folks have kicked around the idea, but this is OPEN SOURCE SOFTWARE. Until someone feels like doing to the work, it won't exist, and trolling doesn't encourage solutions in open source. On that friendly note; I happen to actually be deep inside of the Windows (*socket based*) MPM, and the Apache 2.3-alpha MPM now handles AcceptEx + Data (retrieving first packets optimization), along with a better/more effective 'classic' solution for accept based on WSAEventSelect(). It's already proven significantly faster in my initial tests, although I'm not seeing any big win from the change to accepting the initial data. We'll see how that evolves, there are still two more performance changes I'm designing into those listen/accept threads. Bill - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
On Thu, Mar 5, 2009 at 2:47 PM, Flowering Weeds wrote: > > >> >Not at all true any more. Modern Windows OS (Windows XP >> >and up ) systems allows (near 100) processes to use the same >> >IP / Port at the same time. >> > >> >In fact, even the Windows admin's automation tool, >> >powershell.exe, on the command line, can use the >> >same port that other Windows processes use! >> > >> >Web Servers >> >Web Services >> >Databases >> >Commamnd line processes >> > >> >All at the same time, on the same IP / Port! >> >> I think we're talking about two different things. >> >> You can't have say IIS and Apache listen on the same IP and the same port. >> > > Sure one could if ASF followed modern Windows > HTTP usage and used the http.sys object that > all these other Windows processes use! Naturally, we should all look to Windows and MS in general for guidance on how to follow standards. That's how we end up with such beautiful pieces of software as Internet Explorer 6 which has lead to more web-developer suicides than anything else in history. Not to start a flame war, but Microsoft has a long and rich history of bastardizing specifications and standards, both out of ignorance and deliberate attempts to build monopolies on technologies: HTML, CSS, Javascript, and even a little HTTP (and lets not forget Silverlight, and C#; while not technically violations of any specification, I think the argument could certainly be made that they were built for the sake of competing with existing standards). Opening up multiple services on a single IP-address/port combination seems to me to go against some of the key concepts of TCP and UDP. After all, that is what ports were originally intended for: correspondence to a particular service. Anyway, those are both of my pennies on the topic. Sounds like the OP was able to solve his problem, so that's good. -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
>> > > > Perhap Apache on Windows needs updating? > > Perhap Apache on Windows needs to have patches offered. HTTP.SYS > is an interesting technology and certainly fits the profile for > an entirely separate MPM and core network stack, unrelated to the > conventional httpd server. Several folks have kicked around the > idea, but this is OPEN SOURCE SOFTWARE. Until someone feels like > doing to the work, it won't exist, and trolling doesn't encourage > solutions in open source. > It had nothing to do with trolling - but explaining more than one process on a port at the same time information - Apache can use it too! > On that friendly note; As for patches - it's more than that - it is a completely new project! And it is easy to start learning http.sys via PowerShell - even tracking Apache via PowerShel (threads, sockets, processes and etc.). Then after seeing "non Unix" ways, not non HTTP ways, and how they work, well if one wants to move on to C++ / C okay but .NET makes it so much easier for the starter now! PowerShell is a .NET processe that can use http.sys. So one can start right at the command line and see usage and objects and properties and etc right now (of Apache and or of http.sys). But all this is not Apache On Windows Unix version software - just newer Windows actions doing standard HTTP actions like IIS or any other http.sys user! But the real question for ASF is - why write something that is already there - one can change any part of IIS 7 (and up). So why not just start ASF IIS modules or what ever? Still open source and usable. Then perhaps move on to (if needed) to Apache http.sys MPM! Just a question! _ Windows Live™ Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009
Re: [us...@httpd] Apache port help
Flowering Weeds wrote: Perhap Apache on Windows needs updating? Perhap Apache on Windows needs to have patches offered. HTTP.SYS is an interesting technology and certainly fits the profile for an entirely separate MPM and core network stack, unrelated to the conventional httpd server. Several folks have kicked around the idea, but this is OPEN SOURCE SOFTWARE. Until someone feels like doing to the work, it won't exist, and trolling doesn't encourage solutions in open source. It had nothing to do with trolling - but explaining more than one process on a port at the same time information - Apache can use it too! On that friendly note; As for patches - it's more than that - it is a completely new project! And it is easy to start learning http.sys via PowerShell - even tracking Apache via PowerShel (threads, sockets, processes and etc.). Then after seeing "non Unix" ways, not non HTTP ways, and how they work, well if one wants to move on to C++ / C okay but .NET makes it so much easier for the starter now! PowerShell is a .NET processe that can use http.sys. So one can start right at the command line and see usage and objects and properties and etc right now (of Apache and or of http.sys). But all this is not Apache On Windows Unix version software - just newer Windows actions doing standard HTTP actions like IIS or any other http.sys user! But the real question for ASF is - why write something that is already there - one can change any part of IIS 7 (and up). So why not just start ASF IIS modules or what ever? Still open source and usable. Then perhaps move on to (if needed) to Apache http.sys MPM! Just a question! _ Windows Live™ Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 Since you seem to know so much about that technology, why don't you contribute to apache, and write the draft for this new (and supposively) better MPM? This mailing list is hardly the appropriate place to discuss this. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
I still think running each web server on a separate internal IP so you can run both on port 80 would be better than having IIS redirect the intranet request to apache. I just think he'd be adding a point of failure where one isn't needed. If IIS goes down for whatever reason, then you lose your intranet too. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Tim Ford [mailto:tf...@phmc.org] Sent: Thursday, March 05, 2009 1:11 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Apache port help Thanks everyone I found what I needed! Tim Ford From: Shawn Parr [mailto:pa...@nsula.edu] Sent: Thursday, March 05, 2009 3:10 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache port help You need to create a new website in IIS with your internal dns name http://internal in your examples. Then set it to redirect to http://internal:8080 Most of that is covered in this MS page: http://support.microsoft.com/?id=324287 The redirect isn't. But once you have the new "website" setup (I'm pretty sure that is what IIS calls it, not a virtual host), you can right click on it, go to Properties and probably figure out how to make the redirect happen. On Mar 5, 2009, at 1:14 PM, Tim Ford wrote: IIS is hosting a completely different web page and doesn't communicate with the web page being hosted with apache. So I can't do redirect with iis. Tim Ford IT Manager PHMC www.phmc.org Sent from Verizon wireless device - Shawn Parr Academic Services Northwestern State pa...@nsula.edu This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies; you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail. Please notify the sender of the erroneous e-mail delivery by return e-mail. Thank you for your cooperation. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
> > > > > > And it is easy to start learning http.sys via PowerShell - even tracking > > > > Apache via PowerShel (threads, sockets, processes and etc.). Then after > > > > seeing "non Unix" ways, not non HTTP ways, and how they work, well if > > > > one wants to move on to C++ / C okay but .NET makes it so much easier > > > > for the starter now! PowerShell is a .NET processe that can use http.sys. > > > > > > > > > Since you seem to know so much about that technology, why don't you > contribute to apache, and write the draft for this new (and supposively) > better MPM? > > This mailing list is hardly the appropriate place to discuss this. > > See when Windows is mentioned - it's move on time! That is why I said start with PowerShell - like bash or what ever but for Windows Apache users and also learn about http.sys! Is tracking Apache processes allowed here? _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009
Re: [us...@httpd] Apache port help
Flowering Weeds wrote: And it is easy to start learning http.sys via PowerShell - even tracking Apache via PowerShel (threads, sockets, processes and etc.). Then after seeing "non Unix" ways, not non HTTP ways, and how they work, well if one wants to move on to C++ / C okay but .NET makes it so much easier for the starter now! PowerShell is a .NET processe that can use http.sys. Since you seem to know so much about that technology, why don't you contribute to apache, and write the draft for this new (and supposively) better MPM? This mailing list is hardly the appropriate place to discuss this. See when Windows is mentioned - it's move on time! That is why I said start with PowerShell - like bash or what ever but for Windows Apache users and also learn about http.sys! Is tracking Apache processes allowed here? _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 This is mailing list dedicated to supporting end users. Development questions should be sent to dev@, or another medium. I can't venture to guess what you meant by "Tracking Apache processes". Care to explain? - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
> >> This mailing list is hardly the appropriate place to discuss this. > >> > >> > >> > > > > > > > > > > See when Windows is mentioned - it's move on time! > > > > > > > > That is why I said start with PowerShell - like bash or what ever > > > > but for Windows Apache users and also learn about http.sys! > > > > > > > > Is tracking Apache processes allowed here? > > > > > This is mailing list dedicated to supporting end users. Development > questions should be sent to dev@, or another medium. > > I can't venture to guess what you meant by "Tracking Apache processes". > Care to explain? > Perhaps seeing what every thread inside Apache is doing at run time! Perhaps setting up Apache! Perhaps charting Apache usage! Perhaps anything a user wants to do with or within Apache Windows! Perhaps calling Apache APIs from the command line! Or perhaps "tracking Apache processes"! _ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
Re: [us...@httpd] Apache port help
On Thu, Mar 5, 2009 at 4:13 PM, Flowering Weeds wrote: > And it is easy to start learning http.sys via PowerShell - even tracking > Apache via PowerShel (threads, sockets, processes and etc.). Then after > seeing "non Unix" ways, not non HTTP ways, and how they work, well if > one wants to move on to C++ / C okay but .NET makes it so much easier > for the starter now! PowerShell is a .NET processe that can use http.sys. > > So one can start right at the command line and see usage and objects > and properties and etc right now (of Apache and or of http.sys). But all > this is not Apache On Windows Unix version software - just newer Windows > actions doing standard HTTP actions like IIS or any other http.sys user! > > But the real question for ASF is - why write something that is already > there - one can change any part of IIS 7 (and up). So why not just > start ASF IIS modules or what ever? Still open source and usable. > > Then perhaps move on to (if needed) to Apache http.sys MPM! > > Just a question! > Call me crazy...but if apache were written in .NET, wouldn't that make it a Windows-only product? -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
Brian Mearns wrote: On Thu, Mar 5, 2009 at 4:13 PM, Flowering Weeds wrote: And it is easy to start learning http.sys via PowerShell - even tracking Apache via PowerShel (threads, sockets, processes and etc.). Then after seeing "non Unix" ways, not non HTTP ways, and how they work, well if one wants to move on to C++ / C okay but .NET makes it so much easier for the starter now! PowerShell is a .NET processe that can use http.sys. So one can start right at the command line and see usage and objects and properties and etc right now (of Apache and or of http.sys). But all this is not Apache On Windows Unix version software - just newer Windows actions doing standard HTTP actions like IIS or any other http.sys user! But the real question for ASF is - why write something that is already there - one can change any part of IIS 7 (and up). So why not just start ASF IIS modules or what ever? Still open source and usable. Then perhaps move on to (if needed) to Apache http.sys MPM! Just a question! Call me crazy...but if apache were written in .NET, wouldn't that make it a Windows-only product? Brian, I am now almost fully convinced that we're feeding a troll. I suggest we leave him alone. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
On Thu, Mar 5, 2009 at 4:26 PM, Anthony J. Biacco wrote: > I still think running each web server on a separate internal IP so you can > run both on port 80 would be better than having IIS redirect the intranet > request to apache. I just think he'd be adding a point of failure where one > isn't needed. If IIS goes down for whatever reason, then you lose your > intranet too. Yeh, that's probably the cleanest approach, assuming he has another IP address he can use. -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache port help
On Thu, Mar 5, 2009 at 4:58 PM, Frank Gingras wrote: > Brian, > > I am now almost fully convinced that we're feeding a troll. I suggest we > leave him alone. > Yeh, I think you're probably right. Good call. -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] Apache port help
> >> > > > > Call me crazy...but if apache were written in .NET, wouldn't that make > > it a Windows-only product? > > > > > > No http.sys makes it Windows only but so does WSA commands now! Anyway a lot of .NET (CLR really) is in Mono and the many Silverlight .NET usage versions for most OS browsers. Remember C# is a standard now and .NET is Microsft's version of it! FYI _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009
[us...@httpd] unsubscribe
unsubscribe -- Thanks n Regards Swati Longia Remember if people talk behind your back, it only means you're two steps ahead! - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] .htpasswd login failure
Hi List, I added afor restricting access to my web site URL. I used Basic Authentication module.. I created #htpasswd -c .htpasswd test password : test and restarted apache . The path to AuthUserFile is absolutely the system path no error in that .. but when I tried to accessmysites URL it showing the Authentication Dialogue , I enteredusername : test password : test , but its not loging in ..) I recreated the password many times with other user names and passwords.. but still I can't login .. what may be the issue ? how can I fix the issue ? This is the setup [r...@sun /usr/local/www/testblock]# ls -al total 6 drwxr-xr-x 2 www www512 Mar 5 19:13 . drwxr-xr-x 11 root wheel 512 Mar 5 16:10 .. -rw-r-xr-x 1 www www 19 Mar 6 09:52 .htpasswd [r...@sun /usr/local/www/testblock]# cat .htpasswd test:Nkw3seTaTE16I [r...@sun /usr/local/www/testblock]# ServerName mysite.com AuthType Basic AuthName "Auth" AuthUserFile "/usr/local/www/testblock/.htpasswd" Require valid-user RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/mysite.com:80/site1/VirtualHostRoot/$1[L,P] ErrorLog /var/log/apache/site1/error_log CustomLog /var/log/apache/site2/access.log combined Any hints most welcome Thanks in advance KK
Re: [us...@httpd] unsubscribe
At 09:05 PM 3/5/2009, you wrote: unsubscribe As the bottom of every message says... To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] SSL ERRORS
The problem isn't talking to port 443 with HTTP because accessing http://localhost:443/ gives me a "Bad Request" error.This is the error I am getting after every request:(70007)The timeout specified has expired: SSL input filter read failed.and these are the errors I get after a graceful restart:SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error pageSSL Library Error: 336027804 error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request speaking HTTP to HTTPS port!?If possible, could you set your LogLevel to info to see if you are seeing these errors as well? I have noticed these errors with Apache 2.2.11 on linux and on OS X. I'm attaching my apache config file to this email.Thanks for helping me debug this!-Andres httpd.conf Description: Binary data On Mar 4, 2009, at 9:55 AM, Eric Covener wrote:On Wed, Mar 4, 2009 at 9:41 AM, Andres Moreywrote:Hi All,If you turn on your LogLevel to info you will see the following errors inyour apache log:(70007)The timeout specified has expired: SSL input filter read failed.SSL library error 1 in handshakeSSL Library Error: 336027900 error:140760FC:SSLroutines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking not SSL to HTTPSport!?Connection closed to child 9 with abortive shutdownThis is extremely worrying. Does anybody know how to fix these SSL errors?Your connecting a to a HTTP port with HTTPS. It's probably just yourconfig -- maybe you have and need *:80 and *:443?A quick check is to connect to port 443 with HTTP and see if you get a response.-- Eric Covenercove...@gmail.com-The official User-To-User support forum of the Apache HTTP Server Project.See http://httpd.apache.org/userslist.html> for more info.To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.orgFor additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] how can I check whether a a module is "executed" at all?
hi there, I am fighting to get SSO with ntlm authenticating running. My problem is, that I, whatever I do only get an "authentication required" error, but no authentication box presented. I tried with IE, firefox (on winows and linux). I am using (trying at least) sambas auth_ntlm_winbind module. this module uses a helper utility. I replaced this helper by my own python script that does nothing but logging its execution. however, it is never executed and therefor it seems, that tis module is never called. I am working on a SuSe 11.1 box Apache is 2.2.10 thanks robert here my virtual host stanza: DocumentRoot /srv/www/htdocs/ ServerAdmin rob...@redcor.net ServerName zehnder.redcor.home CustomLog /var/log/apache2/zehnder-access.log combined ErrorLog /var/log/apache2/zehnder-error.log #LogLevel warn LogLevel debug # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off # configures the footer on server-generated documents ServerSignature On # /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp AuthName "NTLM Authentication thingy" NTLMAuth on NTLMAuthHelper "/tmp/sso.py" NTLMBasicAuthoritative off AuthType NTLM NTLMBasicAuth on #set to 'on' to activate Basic authentication (for non-NTLM browsers) NTLMBasicRealm "nj usw' #Realm to use for Basic authentication require valid-user RewriteEngine On # use #RewriteLog to debug problems with your rewrite rules # disable it after you found the error our your harddisk will be filled *very fast* RewriteLog /var/log/apache2/zehnder-rewrite.log RewriteLogLevel 3 RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule .* - [E=RU:%1] RequestHeader set X_REMOTE_USER %{RU}e # Normalize URLs by removing trailing /'s # Add to virtual host block for zehnder.redcor.home:80 RewriteRule /(.*)/$ http://127.0.0.1:8110/VirtualHostBase/http/zehnder.redcor.home:80/zehnderi/zehnderi/VirtualHostRoot/$1 [L,P] RewriteRule ^/(.*) http://127.0.0.1:8110/VirtualHostBase/http/zehnder.redcor.home:80/zehnderi/zehnderi/VirtualHostRoot/$1 [L,P] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org