Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
On 7/16/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: > Thanks. I tried by adding this in my apache2.conf: > > ScriptAliasMatch ^/v/(.+) /usr/local/movies/$1 > > > and when i hit http://localhost/v/sample_100kbit.mov, i get this error message: > >

Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread Joshua Slive
On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: Thanks. I tried by adding this in my apache2.conf: ScriptAliasMatch ^/v/(.+) /usr/local/movies/$1 and when i hit http://localhost/v/sample_100kbit.mov, i get this error message: The server encountered an internal error or misconfiguration and

Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
On 7/16/07, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: > Hi, > > In apache, can I do this: > http://127.0.0.1:/dir1/index.html > > will go to /var/www/dir1/index.html > > and then > http://127.0.0.1:/dir2/index.html > > will go to /usr/local/bin/www/di

[EMAIL PROTECTED] Need help with mod_proxy_html to re-write URL

2007-07-16 Thread Jeff Murch
Almost there.. Here is the section of my httpd.conf that applies to the proxy config. I need to rewrite the html links on some of the pages from http to https, that's all. It seems simple but I've apparently got the syntax wrong (last line). Thanks, Jeff DocumentRoot "/opt/apache/htd

Re: [EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread Joshua Slive
On 7/16/07, ying lcs <[EMAIL PROTECTED]> wrote: Hi, In apache, can I do this: http://127.0.0.1:/dir1/index.html will go to /var/www/dir1/index.html and then http://127.0.0.1:/dir2/index.html will go to /usr/local/bin/www/dir2/index.html If yes, can you please tell me how can I do that? You

Re: [EMAIL PROTECTED] RewriteRule/Cond Assistance

2007-07-16 Thread Joshua Slive
On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote: ## RewriteRule ^/index.mv [L] # Don't affect main index RewriteRule ^/admin [L] # Don't affect /admin directory RewriteRule ^/gallery [L] # Don't affect /gall

Re: [EMAIL PROTECTED] Using mod_headers to modify an existing header

2007-07-16 Thread Joshua Slive
On 7/16/07, Van Der Hart, Kevin <[EMAIL PROTECTED]> wrote: We are terminating an SSL session on a load balancer in front of an Apache web server. Things work fine except for a few portions of the app running behind Apache (compiled 3rd party program which we have no source access to) sends some 3

[EMAIL PROTECTED] How can I setup URL path and directory mapping in apache

2007-07-16 Thread ying lcs
Hi, In apache, can I do this: http://127.0.0.1:/dir1/index.html will go to /var/www/dir1/index.html and then http://127.0.0.1:/dir2/index.html will go to /usr/local/bin/www/dir2/index.html If yes, can you please tell me how can I do that? Thank you. -

Re: [EMAIL PROTECTED] RewriteRule/Cond Assistance

2007-07-16 Thread Mike @ Levrah
At 07:11 PM 7/16/2007, you wrote: On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote: Hey guys. It looks like I'm not the only one having rewriterule/cond fun lately. LOL I'm having a tough time figuring this out, and it's probably something simple that I'm making harder than it is. Rather t

[EMAIL PROTECTED] Reverse Proxy / Firewall Issue

2007-07-16 Thread Narasa Susarla
Hi. I have a problem with my Apache 2.2.4 reverse proxy and would appreciate if anyone can point me in the right direction. I have an external ip address (206.16.x.y) that is NAT translated to my internal ip 192.168.a.b on which I have an apache server that works as a proxy to my application se

[EMAIL PROTECTED] Using mod_headers to modify an existing header

2007-07-16 Thread Van Der Hart, Kevin
We are terminating an SSL session on a load balancer in front of an Apache web server. Things work fine except for a few portions of the app running behind Apache (compiled 3rd party program which we have no source access to) sends some 302 redirect responses with a location header that has http in

Re: [EMAIL PROTECTED] RewriteRule/Cond Assistance

2007-07-16 Thread Joshua Slive
On 7/16/07, Mike @ Levrah <[EMAIL PROTECTED]> wrote: Hey guys. It looks like I'm not the only one having rewriterule/cond fun lately. LOL I'm having a tough time figuring this out, and it's probably something simple that I'm making harder than it is. Rather than post examples of what I've trie

Re: [EMAIL PROTECTED] RewriteRule with a dot in URL

2007-07-16 Thread Joshua Slive
On 7/16/07, Thierry Kennes <[EMAIL PROTECTED]> wrote: I've just tried : RewriteRule ^Test\.com$ Testcom and RewriteRule (.*)\.(.*) $1$2 as you suggested. Here is the message i get with the browser : The requested URL /Test.com was not found on this server. Server error and access logs (and of

[EMAIL PROTECTED] RewriteRule/Cond Assistance

2007-07-16 Thread Mike @ Levrah
Hey guys. It looks like I'm not the only one having rewriterule/cond fun lately. LOL I'm having a tough time figuring this out, and it's probably something simple that I'm making harder than it is. Rather than post examples of what I've tried - since none of them work - and it'll show my maj

Re: [EMAIL PROTECTED] RewriteRule with a dot in URL

2007-07-16 Thread Thierry Kennes
I've just tried : RewriteRule ^Test\.com$ Testcom and RewriteRule (.*)\.(.*) $1$2 as you suggested. Here is the message i get with the browser : The requested URL /Test.com was not found on this server. the .htaccess file : RedirectMatch ^/wiki/([A-Z].*)$ http://wiki.tpkennes.com/$1 RewriteEngi

[EMAIL PROTECTED] can't load mod_proxy_html.so

2007-07-16 Thread Jeff Murch
I am trying to load mod_proxy_html.so and get the following error: Cannot load /opt/jail/opt/apache/modules/mod_proxy_html.so into server: /opt/jail/opt/apache/modules/mod_proxy_html.so: invalid ELF header What is this trying to tell me??? Jeff --

Re: [EMAIL PROTECTED] RewriteRule with a dot in URL

2007-07-16 Thread Joshua Slive
On 7/16/07, Thierry Kennes <[EMAIL PROTECTED]> wrote: Thanks Joshua for your advice. Though it didn't worked. It's like if the server is trying to find a file named "Test.com" like if it was index.php. So i don't know what should i have to do ... btw, i'm using mediawiki. Statements like "it d

Re: [EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
The trunk does not have the patch on it... least from the bug report listed... so if the patch does work, then the mod_dbd will need to be manually maintained until its accepted into the trunk. On 7/16/07, Laurent FAILLIE <[EMAIL PROTECTED]> wrote: > Your problem is slightly different then my ow

[EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Laurent FAILLIE
> Your problem is slightly different then my own... as > the > username/password never becomes acceptable after 10 > mins when database > connections are pooled/persisted. What version of > Apache are you > using? Source-compiled 2.2.3, 2.2.4 or package from > your OS > vendor/distributor? It's 2

Re: [EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
On 7/16/07, Laurent FAILLIE <[EMAIL PROTECTED]> wrote: As explained in a mail I sent on June the 25, I'm able to make authentication running against a pg database (I have to enter 4 or 5 time the user/password before being accepted). Unfortunately, no response till now. I've created a bug report

Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
Ah yes... apparently, I assumed that CentOS5 had the latest which for them is 2.2.3... and the real question of updating httpd rests with CentOS/RHEL then it does with apache... :-( I have to make a special install on a test box to see if mod_dbd changes fixes my issues. Should I use httpd 2.2.4

[EMAIL PROTECTED] help mod_proxy_html rule

2007-07-16 Thread Jeff Murch
Hi All, I need to have a rewrite rule on an Apache2 reverse proxy to rewrite any link where that matches http with https. It's not necessary to rewrite the https links but not harmful either. Can someone point me to an example for something like this? Regards, Jeff

Re: [EMAIL PROTECTED] RewriteRule with a dot in URL

2007-07-16 Thread Thierry Kennes
Thanks Joshua for your advice. Though it didn't worked. It's like if the server is trying to find a file named "Test.com" like if it was index.php. So i don't know what should i have to do ... btw, i'm using mediawiki. Joshua Slive-2 wrote: > > When you say "it doesn't work because of the dot"

Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread William A. Rowe, Jr.
Ned Wolpert wrote: > This may be a stupid question... when is 2.2.4 being released? Is > there a roadmap for Apache's httpd? Foolish, maybe. http://www.apache.org/dist/httpd/ - January? 2.2.5 is likely this summer, in spite of so many people's holidays. Amsterdam (3.0?) is in-the-works, mod_ssl

[EMAIL PROTECTED] RE : Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Laurent FAILLIE
--- Nick Kew <[EMAIL PROTECTED]> a écrit : > That looks like a possible manifestation of > http://issues.apache.org/bugzilla/show_bug.cgi?id=39329 > > Either apply the latest patch in the bug report, or > update to > the trunk version of mod_dbd. And please let us know if it's working correctly

Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
This may be a stupid question... when is 2.2.4 being released? Is there a roadmap for Apache's httpd? On 7/16/07, Ned Wolpert <[EMAIL PROTECTED]> wrote: Looking through the patch, the patch itself should not be specific to MySQL, right? I can try the latest version of the mod_dbd.c itself and v

[EMAIL PROTECTED] Re: mod_cache intermittently corrupting PDF's or storing incomplete version of file.

2007-07-16 Thread Mark Stevens
Anyone? On 16/07/07, Mark Stevens <[EMAIL PROTECTED]> wrote: Has anyone had problems in the past with Apache mod_cache storing incomplete versions of files such as PDF's, and if so did you manage to resolve it? The problem is intermittent, and I can confirm PDF's from the origin source are OK.

Re: [EMAIL PROTECTED] Can Apache front multiple instances of Tomcat

2007-07-16 Thread Johnny Kewl
Yes I think so... Your best place for documentation is the JK Tomcat documentation on the subject both official and unofficial (google). you need to also read the documentation... this is conceptual... but in essense JkMount /TestRemoteIp/* worker1 Maps the relative URI to a wor

Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
Looking through the patch, the patch itself should not be specific to MySQL, right? I can try the latest version of the mod_dbd.c itself and verify that it works against the SRPM of httpd on CentOS5... I'll post my results On 7/16/07, Nick Kew <[EMAIL PROTECTED]> wrote: On Mon, 16 Jul 2007

Re: [EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Nick Kew
On Mon, 16 Jul 2007 11:55:21 -0700 "Ned Wolpert" <[EMAIL PROTECTED]> wrote: > Folks- > > I'm seeing a problem where authentication for a user on my site > using the mod_dbd structure works just fine for about 10 mins, then > fails if 'pooling' (DBDPersist) is on, and works all the time if > DBD

[EMAIL PROTECTED] Can Apache front multiple instances of Tomcat

2007-07-16 Thread Brady Erickson
I am trying to determine if I can have Apache front multiple instances of Tomcat all running on the same box. The workers.properties file suggests that there is a single workers.tomcat_home. Any help would be greatly appreciated. Thanks in advance! Brady Erickson

[EMAIL PROTECTED] Bug or configure error with mod_dbd and pgsql using Apache 2.2.3

2007-07-16 Thread Ned Wolpert
Folks- I'm seeing a problem where authentication for a user on my site using the mod_dbd structure works just fine for about 10 mins, then fails if 'pooling' (DBDPersist) is on, and works all the time if DBDPersist is off. When it starts failing, the postgresql logs complain authn_dbd_1 isn't f

[EMAIL PROTECTED] HTTP Error: "Website declined to show this webpage."

2007-07-16 Thread Frederick Lamartin
My website is at c:\users\lamartin\my website I have configured Apache to include, but not be limited to, the following Directives: ** ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2" ServerName localhost:80 Listen 80 DocumentRoot "C:/Program Files/Apache

Re: [EMAIL PROTECTED] Apache CGI security

2007-07-16 Thread Joshua Slive
On 7/16/07, Carlos Eduardo Maiolino <[EMAIL PROTECTED]> wrote: Sorry but, it's wrong. All users of the system need access in the /etc/passwd. I won't cgi-scripts list the /etc/passwd There are some solutions that involve chrooting, SELinux, or similar restrictions layered on top of basic unix

Re: [EMAIL PROTECTED] Apache CGI security

2007-07-16 Thread Carlos Eduardo Maiolino
Sorry but, it's wrong. All users of the system need access in the /etc/passwd. I won't cgi-scripts list the /etc/passwd On 7/16/07, Mark Watts <[EMAIL PROTECTED]> wrote: > Hello Friends. > > I need tips to add more security in my Apache Server. Mainly with > cgi-scripts, > I use the suEXEC

RE: [EMAIL PROTECTED] Apache Tomcat Load Balancing

2007-07-16 Thread Sangoi, Nehal (Gexpro, consultant)
Yes ... I have done the same but I have to test it yet I will post again for its working/non-working status. Thanks Nehal -Original Message- From: Sander Temme [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 10:58 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Ap

Re: [EMAIL PROTECTED] Apache Tomcat Load Balancing

2007-07-16 Thread Sander Temme
Nehal, On Jul 15, 2007, at 9:22 AM, Sangoi, Nehal (Gexpro, consultant) wrote: <..> worker.loadbalancer.balanced_workers=worker1,worker2 And, in httpd.conf JkMount /servlet/* loadbalancer I have another application that also needs to be load balanced using worker3 and worker4. Hence, how

RE: [EMAIL PROTECTED] Apache CGI security / Reverse problem: POST works, GET doesn't

2007-07-16 Thread Jeff Murch
Happy Monday all, I'm getting closer with my hardened reverse proxy /mod_security. I'm at the point now where almost everything works, until I get to the GETs. The posts all work fine, the GETs don't, both to the same cgi executable. When you don't go through the proxy the GETs work fine. I

Re: [EMAIL PROTECTED] Apache CGI security

2007-07-16 Thread Mark Watts
> Hello Friends. > > I need tips to add more security in my Apache Server. Mainly with > cgi-scripts, > I use the suEXEC, but, with a cgi-script (perl), I obtain a list of the > /etc/passwd. > > Example: > > #!/usr/bin/perl > > system("cat /etc/passwd"); > > > > how to solve these problems? > > Th

[EMAIL PROTECTED] Apache CGI security

2007-07-16 Thread Carlos Eduardo Maiolino
Hello Friends. I need tips to add more security in my Apache Server. Mainly with cgi-scripts, I use the suEXEC, but, with a cgi-script (perl), I obtain a list of the /etc/passwd. Example: #!/usr/bin/perl system("cat /etc/passwd"); how to solve these problems? Thank's

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Boyle Owen
> -Original Message- > From: Jeffrey Knops [mailto:[EMAIL PROTECTED] > Sent: Monday, July 16, 2007 10:59 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Client denied by server config > > *dramatic sigh* No, I've tried all of the tips put forward by > the articles you su

[EMAIL PROTECTED] mod_cache intermittently corrupting PDF's or storing incomplete version of file.

2007-07-16 Thread Mark Stevens
Has anyone had problems in the past with Apache mod_cache storing incomplete versions of files such as PDF's, and if so did you manage to resolve it? The problem is intermittent, and I can confirm PDF's from the origin source are OK. I would be interested in any combination of setup and version

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Jeffrey Knops
*dramatic sigh* No, I've tried all of the tips put forward by the articles you suggested, and nothing seems to work... Is it possible this is a bug caused by my OS (vista x64)? I was surprised to even get apache running on it, so I wouldn't be surprised to find out it has compatability issues. -Jef

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Jeffrey Knops
Thanks - knew I had to be missing something, and this looks to make more sense than the other tutorials I've read through. I'll give this a try. -Jeff - The official User-To-User support forum of the Apache HTTP Server Project. S

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Boyle Owen
> -Original Message- > From: Jeffrey Knops [mailto:[EMAIL PROTECTED] > Sent: Monday, July 16, 2007 9:57 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Client denied by server config > > Gotcha - this is the entire .htaccess file : > > AuthType Basic > AuthName files > A

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Jeffrey Knops
Gotcha - this is the entire .htaccess file :AuthType BasicAuthName filesAuthUserFile passwd/.htpasswdRequire valid-user Thanks for the quick response! -Jeff - The official User-To-User support forum of the Apache HTTP Server Proj

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Boyle Owen
> -Original Message- > From: Jeffrey Knops [mailto:[EMAIL PROTECTED] > Sent: Monday, July 16, 2007 9:49 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Client denied by server config > > > > > Heh, I should have mentioned... I'm a bit of a noob when it > comes to apa

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Jeffrey Knops
  Heh, I should have mentioned... I'm a bit of a noob when it comes to apache - which config file are we talking about here, httpd.conf, .htaccess or other? > -Original Message- > From: Jeffrey Knops [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 15, 2007 8:33 AM > To: users@httpd.apache.o

RE: [EMAIL PROTECTED] Client denied by server config

2007-07-16 Thread Boyle Owen
> -Original Message- > From: Jeffrey Knops [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 15, 2007 8:33 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Client denied by server config > > Alright, so I'm loving the challenge here, but loathing the > fact that I can't seem to

[EMAIL PROTECTED] File upload in IE6 with Apache 2

2007-07-16 Thread lista_exim
Hi! I have about 20 servers with Apache 2 (2.0.54) and Squirrelmail. We have been using Pound to give HTTPS access, and Apache 2 only for HTTP. Recently we have changed this configuration, removing all Pound servers, and using Apache 2 for HTTP and HTTPS. Now, with the new configuration, we are