Re: [EMAIL PROTECTED] Enable Apache with SSL

2007-05-16 Thread j k
On 5/16/07, Malladi, Sasikanth <[EMAIL PROTECTED]> wrote: All, Apologies if this is a FAQ and I should RTFM but I don't seem to find the right place to look. How do I enable my Apache 2 web server with SSL? I followed the advise here: http://docs.sun.com/source/819-5536-11/7_SSL_Apache.html#59

Re: [EMAIL PROTECTED] mod_proxy_html

2007-05-16 Thread Dragon
Dragon did speak thusly: I need to install mod_proxy_html for an application server I am trying to get running. I found the source file for it at http://apache.webthing.com/mod_proxy_html/ but am having no luck getting it to compile successfully (missing headers, etc.) The system I am working

Re: [EMAIL PROTECTED] Overriding url filename changing in Apache

2007-05-16 Thread Scott Gifford
"Harry Spier" <[EMAIL PROTECTED]> writes: > I have a website on a shared hosting Apache Linux server. [...] > I believe (but I'm not sure) that [...] mod-speling is enabled on > that Apache server. This is the default behaviior on the shared > hosting server and they wont change it. > > I need t

[EMAIL PROTECTED] Overriding url filename changing in Apache

2007-05-16 Thread Harry Spier
Dear list members, I have a website on a shared hosting Apache Linux server. On that server, Apache is set so that if a url is sent to a domain with a file name that doesn't exist but another filename exists on that domain with one letter different from the url, it changes the url to the exist

Re: [EMAIL PROTECTED] Re: https redirection

2007-05-16 Thread Dan_Mitton
Have you tried looking at mod_alias and using the 'redirect' directive inside your https://www. virtual host? Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject:[EMAIL PROTECTED] Re: https redirection LSN: Not Relevant Us

[EMAIL PROTECTED] Re: https redirection

2007-05-16 Thread Guy Speier
Thanks Eric, I still can't get this thing to work. I think the problem is I still want all http://www.foo.com to stay on www, but I want https://www.foo.com to go to https://www2.foo.com Any suggestions or example you can show me? Guy Eric DuToit writes: Mod re-write is your friend:

RE: [EMAIL PROTECTED] https redirection

2007-05-16 Thread Eric DuToit
Mod re-write is your friend: http://www.google.com/search?q=mod_rewrite -Original Message- From: Guy Speier [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 4:32 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] https redirection Hello, How can I redirect users visitin

[EMAIL PROTECTED] https redirection

2007-05-16 Thread Guy Speier
Hello, How can I redirect users visiting my web site: https://www.foo.com/here to https://www2.foo.com/here thanks, Guy - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Norman Khine
Marc Perkel wrote: > > > Sam Lavitt wrote: >> Joshua Slive wrote: >> >>> On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote: >>> I was hoping for a more specific answer. If I could have done that I wouldn't be here asking how to do it. >>> >>> >> Also consider other services, such as F

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Graeme Fowler
On Wed, 2007-05-16 at 13:23 -0700, Marc Perkel wrote: > I'm somewhat sue the problem is apache related because the files that > end up there are owned by user apache. All that means is that the intrusion is most likely happening via a process running as the apache user. In the vast majority of ca

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Marc Perkel
Sam Lavitt wrote: Joshua Slive wrote: On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote: I was hoping for a more specific answer. If I could have done that I wouldn't be here asking how to do it. Also consider other services, such as FTP servers, SSH, SCP, etc. etc. etc. Apache very w

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Sam Lavitt
Joshua Slive wrote: On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote: I was hoping for a more specific answer. If I could have done that I wouldn't be here asking how to do it. Well, your original question was a little like "There's some money missing from my dresser drawer; how do I stop

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Joshua Slive
On 5/16/07, Marc Perkel <[EMAIL PROTECTED]> wrote: I was hoping for a more specific answer. If I could have done that I wouldn't be here asking how to do it. Well, your original question was a little like "There's some money missing from my dresser drawer; how do I stop that from happening?" W

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Marc Perkel
Sam Lavitt wrote: Marc Perkel wrote: Graeme Fowler wrote: On Wed, 2007-05-16 at 05:46 -0700, Marc Perkel wrote: What's the best way to keep hackers out of /dev/shm? I'm getting the script kitties installing IRC bots. Mount /dev/shm noexec. More importantly, close the holes the s

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Sam Lavitt
Marc Perkel wrote: Graeme Fowler wrote: On Wed, 2007-05-16 at 05:46 -0700, Marc Perkel wrote: What's the best way to keep hackers out of /dev/shm? I'm getting the script kitties installing IRC bots. Mount /dev/shm noexec. More importantly, close the holes the script kiddies are g

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Marc Perkel
Graeme Fowler wrote: On Wed, 2007-05-16 at 05:46 -0700, Marc Perkel wrote: What's the best way to keep hackers out of /dev/shm? I'm getting the script kitties installing IRC bots. Mount /dev/shm noexec. More importantly, close the holes the script kiddies are getting in through. Loc

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Arthur Pesa
I have no reference to /Users/arthurpesa/public_html/ in any conf file that I can find. I also do not have a directory under /Users/arthurpesa called /public_html/. I have no redirect in my conf file either. I have combed through the original conf file supplied in 1.3 and added what I felt was nece

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Robert T Wyatt
Arthur Pesa wrote: > Thanks for the additional insight. I think I have gotten past the startup > error. I cp'd /private/etc/httpd/httpd.conf to httpd.conf.bak. I then > restarted apache and the new installation seems to work. However I have a > couple questions. > > I am using the following comman

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Arthur Pesa
Thanks for the additional insight. I think I have gotten past the startup error. I cp'd /private/etc/httpd/httpd.conf to httpd.conf.bak. I then restarted apache and the new installation seems to work. However I have a couple questions. I am using the following command line to start the server: ap

[EMAIL PROTECTED] mod_proxy_html

2007-05-16 Thread Dragon
I need to install mod_proxy_html for an application server I am trying to get running. I found the source file for it at http://apache.webthing.com/mod_proxy_html/ but am having no luck getting it to compile successfully (missing headers, etc.) The system I am working on is a Plesk 8.1 control

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Robert T Wyatt
What is "shutting down" is the new instance, not the already-running instance. Try using "graceful" instead of "start"; if it is already running this might restart it assuming they are the same program (both version 2 and not the factory installed version 1). You might also try using the lsof com

[EMAIL PROTECTED] Problems with CA-Certifcates

2007-05-16 Thread Peter79
Hello, i have got 2 problems with my Apache using mod_ssl and authentification with client-certificates. 1. When the Apache is running and i copy a new pem-encoded CA-Certificate in the specified directory (SSLCACertifcatePath) and create the symbolic hash-link, no client is able to connect with

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Arthur Pesa
Thanks, I compiled and installed apache2.2.4 in usr/local/apache2 (by default). I have disabled Web Sharing in prefs from the start. After the install and initial start command I noticed it was using the httpd.conf file from private/etc/httpd (this is shipped from Apple and will start apache versi

RE: [EMAIL PROTECTED] how to preserve remote_host/addr when using proxy

2007-05-16 Thread Yong Liang
Maybe it's x-forwarded-for mentioned by Gergely. I'm going to give this a try, and take a look at mod_jk suggested by Alex. Thank you all for the help, Yong > -Original Message- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 16, 2007 9:12 AM > To: users@httpd.apache.org >

Re: [EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Robert T Wyatt
Arthur Pesa wrote: > I have downloaded and compiled apache 2.2.4 on my Mac Powerbook G4 OS X > 10.4.9. I did not make any significant changes to the httpd.conf file > initially. I started the server and it error’d on startup with the > following messages in terminal. I am not getting anything relev

Re: [EMAIL PROTECTED] how to preserve remote_host/addr when using proxy

2007-05-16 Thread Russ
I had the same problem and ended up writing a java filter for my jrun server that replaces the remote_ip with the proxied_for value that apache sets (not sure of the exact variable names now, as I'm not in front of a pc. Russ Sent wirelessly via BlackBerry from T-Mobile. -Original Message

[EMAIL PROTECTED] Httpd.comf file and possible configuration issues

2007-05-16 Thread Arthur Pesa
I have downloaded and compiled apache 2.2.4 on my Mac Powerbook G4 OS X 10.4.9. I did not make any significant changes to the httpd.conf file initially. I started the server and it error¹d on startup with the following messages in terminal. I am not getting anything relevant to this error in logs/e

[EMAIL PROTECTED] Problem with ProxyErrorOverride and Tomcat AJP

2007-05-16 Thread Thomas Papke
Hello, i have a strange Problem with apache - tomcat configuration. I use one apache 2.2 and three tomcats for dynamic contents (apache- tomcat communication via ajp protocol). If i setup "ProxyErrorOverride On" i expect that apache handels 4xx and 5xx errors with his own "ErrorDocument"'s. B

RE: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Malladi, Sasikanth
All, thanks for your help. I have set up SSL successfully and it's up and running. Regards, Sashi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Wednesday, May 16, 2007 10:58 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED

[EMAIL PROTECTED] Same file extension for httpd and Tomcat

2007-05-16 Thread lightbulb432
It’s possible to serve static content (such as images, stylesheets, and static pages) with httpd and dynamic pages with Tomcat – however, is it possible for the static and dynamic pages to both have the same extension? (e.g. .jsp, for example) I’d like for users to type in site.com/static.jsp and

Re: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Jens Schoenershoven
Malladi, Sasikanth wrote: Thanks, Dan. /export/opt/local/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c So mod_ssl doesn't show up. However, /usr/local/apache2/modules$ ls -l mod_ssl.o -rwxr-xr-x 1 bin bin 283688 Aug 26 2006 mod_ssl

Re: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Joshua Slive
On 5/16/07, Malladi, Sasikanth <[EMAIL PROTECTED]> wrote: Thanks, Dan. /export/opt/local/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c So mod_ssl doesn't show up. However, /usr/local/apache2/modules$ ls -l mod_ssl.o -rwxr-xr-x 1 bin bin 2

[EMAIL PROTECTED] Apache 2.2.4 on Fedora Core 5 Linux - Large file downloads timing out

2007-05-16 Thread myles
I have a very strange situation. We have 4 colocated servers - 2 Windows and 2 Linux. One of the Linux servers provides a web application that serves large files (about 20-40mb in size). Recently, as activity is starting to increase on this box, I am getting reports from users that their file do

RE: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Malladi, Sasikanth
Thanks, Dan. /export/opt/local/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c So mod_ssl doesn't show up. However, /usr/local/apache2/modules$ ls -l mod_ssl.o -rwxr-xr-x 1 bin bin 283688 Aug 26 2006 mod_ssl.so So how do I confirm? Th

Re: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Hamilton Vera
Take a look at error.log Ex: [Wed May 09 14:30:13 2007] [notice] Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7g PHP/5.2.2 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations Hamilton Vera int Administrator (char Network[],char ComputationalSystems[]); http://antispam.br/ "

Re: [EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Dan_Mitton
Use 'httpd -l' (that's lowercase L) to see if it was compiled in, or check the modules subdirectory for mod_ssl.so Please respond to users@httpd.apache.org To: cc: (bcc: Dan Mitton/YD/RWDOE) Subject:[EMAIL PROTECTED] Check if mod_ssl was built LSN: Not Relevant User Filed as

[EMAIL PROTECTED] Check if mod_ssl was built

2007-05-16 Thread Malladi, Sasikanth
Quick question: I have installed Apache2 from binaries. How do I verify if my version was built with mod_ssl included? Thanks, Sashi - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.

Re: [EMAIL PROTECTED] Apache 2.2, Windows Service, Mapped Network Drive

2007-05-16 Thread Tony Guadagno
Hi, I do this exact thing on windows 2003. I use autoexecnt to map the drive and then the alias will work. One think I do notice is that it is a good idea to install the apache service with a service name down the alphabet. If you leave the default service name (Apache2) then it does not gi

[EMAIL PROTECTED] Re: AliasMatch Problem - %2f in URL causes 404

2007-05-16 Thread malone
Joshua Slive wrote: On 5/16/07, malone <[EMAIL PROTECTED]> wrote: Instead of running the PHP script apache returns a 404 error. %2f decodes to the "/" character, so I assume that is causing problems somewhere. I also notice on my windows machine that %5c ("\") causes the same problem. See: ht

Re: [EMAIL PROTECTED] AliasMatch Problem - %2f in URL causes 404

2007-05-16 Thread Robert T Wyatt
Robert T Wyatt wrote: > malone wrote: >> I have an AliasMatch line as follows >> >> AliasMatch ^/(.*) "/var/www/localhost/htdocs/test.php" >> >> My aim is to make any URL be handled by the PHP script. This works great >> for all URLs, unless they have %2f in them, e.g. >> >> http://127.0.0.1/foo%2f

Re: [EMAIL PROTECTED] AliasMatch Problem - %2f in URL causes 404

2007-05-16 Thread Robert T Wyatt
malone wrote: > I have an AliasMatch line as follows > > AliasMatch ^/(.*) "/var/www/localhost/htdocs/test.php" > > My aim is to make any URL be handled by the PHP script. This works great > for all URLs, unless they have %2f in them, e.g. > > http://127.0.0.1/foo%2fbar > > Instead of running the P

Re: [EMAIL PROTECTED] AliasMatch Problem - %2f in URL causes 404

2007-05-16 Thread Joshua Slive
On 5/16/07, malone <[EMAIL PROTECTED]> wrote: Instead of running the PHP script apache returns a 404 error. %2f decodes to the "/" character, so I assume that is causing problems somewhere. I also notice on my windows machine that %5c ("\") causes the same problem. See: http://httpd.apache.org

[EMAIL PROTECTED] AliasMatch Problem - %2f in URL causes 404

2007-05-16 Thread malone
I have an AliasMatch line as follows AliasMatch ^/(.*) "/var/www/localhost/htdocs/test.php" My aim is to make any URL be handled by the PHP script. This works great for all URLs, unless they have %2f in them, e.g. http://127.0.0.1/foo%2fbar Instead of running the PHP script apache returns a 40

Re: [EMAIL PROTECTED] Valid users cannot login with authnz_ldap

2007-05-16 Thread gummibaer
Hello mxc, I have the same problem. Now, I try it with an additional .htaccess-file in the folder I want to protect. My .htaccess-file includes the same information like the -Directory, e.g: AuthType Basic AuthName "IT Intranet" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap

Re: [EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Graeme Fowler
On Wed, 2007-05-16 at 05:46 -0700, Marc Perkel wrote: > What's the best way to keep hackers out of /dev/shm? I'm getting the > script kitties installing IRC bots. Mount /dev/shm noexec. More importantly, close the holes the script kiddies are getting in through. Locking the front door is far mor

[EMAIL PROTECTED] Enable Apache with SSL

2007-05-16 Thread Malladi, Sasikanth
All, Apologies if this is a FAQ and I should RTFM but I don't seem to find the right place to look. How do I enable my Apache 2 web server with SSL? I followed the advise here: http://docs.sun.com/source/819-5536-11/7_SSL_Apache.html#59207 And here: http://developer.softwareag.com/tamino/document

[EMAIL PROTECTED] Keeping hackers out of /dev/smh

2007-05-16 Thread Marc Perkel
What's the best way to keep hackers out of /dev/shm? I'm getting the script kitties installing IRC bots. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> f

Re: [EMAIL PROTECTED] httpd not starting

2007-05-16 Thread Krist van Besien
On 5/15/07, Costrell, Daniel N (Dan Costrell) <[EMAIL PROTECTED]> wrote: I installed apache 2.2.4 on Tru64 5.1b. When I start it by entering "./apachectl start", the return value (#?) is 0. However, running ps shows that httpd is not running. Nothing is written to error_log, and no error message

Re: [EMAIL PROTECTED] name resolution

2007-05-16 Thread Norman Peelman
Glen Vickers wrote: Glen Vickers wrote: K I figured out whats going on with my virtual hosts. I have to have 3 because of the differences. But I noticed that if I go sillumutah.com or sillumutah.net it works fine.. If I put the WWW in front or any other prefix it bombs to the default. So

Re: [EMAIL PROTECTED] how to preserve remote_host/addr when using proxy

2007-05-16 Thread Ion Alexandru Morega
On 16 May 2007, at 09:32, Yong Liang wrote: Hi all, We're using a reverse proxy to redirect access to java servlets listening on port 9080. The problem is all http requests received by servlets have remote_addr set to 127.0.0.1. Is there a way to configure the proxy to keep the original

Re: [EMAIL PROTECTED] how to preserve remote_host/addr when using proxy

2007-05-16 Thread POLONKAI Gergely
Hello Yong, As far as I remember, in these cases, you have the X-Forwarded-For: header, which contains the original host, if this solution is good for you... Rgds, Gergely Yong Liang írta: > > Hi all, > > We're using a reverse proxy to redirect access to java servlets > listening on port 9080. T