Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Melanie Pfefer
Hello, on testserver(IP address y.y.y.y), I enabled logging to debug mode. httpd.conf has: RewriteEngine On RewriteRule ^/(OpenFile.*) http://zeus:9000/$1 [P,L] RewriteRule ^/(.*gqaf:soi:PAR:TRE.*) http://zeus:8080/gqaf-web/$1 [P,L] RewriteLog /usr/local/apache2/logs/rewrite.log RewriteLogLevel

RE: [EMAIL PROTECTED] modify Host header

2008-03-28 Thread Wilda, Jet
Try RequestHeader set Host %{SERVER_NAME}:443 ~Jet From: Eqbal Z [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 5:01 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] modify Host header I need to modify the Host header for my

Re: [EMAIL PROTECTED] mmap cache can't open foo.php - Too many open files

2008-03-28 Thread thomas Armstrong
You can use the apachectl script which internally does the same or issue the following command from the command prompt ulimit -S -n `ulimit -H -n` and then start the Apache, hopefully it will resolve the issue :) Thank you very much for you answer. I inserted this line on my /etc/rc.d/rc.local

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 3:31 AM, Melanie Pfefer [EMAIL PROTECTED] wrote: Hello, on testserver(IP address y.y.y.y), I enabled logging to debug mode. httpd.conf has: RewriteEngine On RewriteRule ^/(OpenFile.*) http://zeus:9000/$1 [P,L] RewriteRule ^/(.*gqaf:soi:PAR:TRE.*)

RE: [EMAIL PROTECTED] Complex authentication problem with LDAP and Apache 2.2.3

2008-03-28 Thread Zembower, Kevin
Joshua, thank you so much for your help. I implemented your suggestion yesterday, and tested last night from home, and everything seemed to be working. The solution seems counterintuitive to me; I don't think that I would have thought of it on my own. Thanks, again. -Kevin -Original

[EMAIL PROTECTED] Protecting a directory while allowing access to certain files

2008-03-28 Thread LDB
I am trying to password protect a directory but still allow access to all to a single file within that directory. Is that possible? Thanks, LDB - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] Protecting a directory while allowing access to certain files

2008-03-28 Thread Dragon
LDB wrote: I am trying to password protect a directory but still allow access to all to a single file within that directory. Is that possible? End original message. - I have no idea to be honest. But why not just move that one file someplace else where it

Re: [EMAIL PROTECTED] Protecting a directory while allowing access to certain files

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 12:07 PM, Joshua Slive [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 11:38 AM, LDB [EMAIL PROTECTED] wrote: I am trying to password protect a directory but still allow access to all to a single file within that directory. Is that possible? Yes, with a

Re: [EMAIL PROTECTED] Protecting a directory while allowing access to certain files

2008-03-28 Thread LDB
Joshua Slive wrote: On Fri, Mar 28, 2008 at 12:07 PM, Joshua Slive [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 11:38 AM, LDB [EMAIL PROTECTED] wrote: I am trying to password protect a directory but still allow access to all to a single file within that directory. Is that

Re: [EMAIL PROTECTED] modify Host header

2008-03-28 Thread Eqbal Z
That does not work. If I do that, apache does not even start. I get the error saying: Unrecognized Header or RequestHeader directive %: So I ended up doing this which seems to work. Can someone check my regex and see if this is correct? I am trying to match any characters optionally followed by a

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Melanie Pfefer
Hello Joshua, I suspect also that the backend server (a tomcat) is not accepting this redirection. Actually, the 2 rewrite rules follow the same basics but in the first rewrite rule, the backend server is a java servlet. Do you think that additional configuration needs to be done on tomcat side

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 2:17 PM, Melanie Pfefer [EMAIL PROTECTED] wrote: Hello Joshua, I suspect also that the backend server (a tomcat) is not accepting this redirection. Actually, the 2 rewrite rules follow the same basics but in the first rewrite rule, the backend server is a java

[EMAIL PROTECTED] Is Apache caching files in htdocs?

2008-03-28 Thread Mark Space
Hi folks. I'm a brand new Apache user with a brand new 2.2.6 install on Windows. I found my config file, and I figured out that the document root is htdocs. I tested by typing localhost into the browser and I got back a simple document that seems to be the same one as htdocs/index.html. So

Re: [EMAIL PROTECTED] Is Apache caching files in htdocs?

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 2:42 PM, Mark Space [EMAIL PROTECTED] wrote: Hi folks. I'm a brand new Apache user with a brand new 2.2.6 install on Windows. I found my config file, and I figured out that the document root is htdocs. I tested by typing localhost into the browser and I got back

Re: [EMAIL PROTECTED] Is Apache caching files in htdocs?

2008-03-28 Thread Mark Space
Joshua Slive wrote: There is no cache unless you specifically configure one with mod_cache. More likely this is some windows filesystem quirk or some issue with your editor. Have you gone down to the command prompt and verified that the file has really changed? Thanks for the fast

Re: [EMAIL PROTECTED] Is Apache caching files in htdocs?

2008-03-28 Thread William A. Rowe, Jr.
Mark Space wrote: Joshua Slive wrote: There is no cache unless you specifically configure one with mod_cache. More likely this is some windows filesystem quirk or some issue with your editor. Have you gone down to the command prompt and verified that the file has really changed? Thanks for

Re: [EMAIL PROTECTED] Is Apache caching files in htdocs?

2008-03-28 Thread Mark Space
William A. Rowe, Jr. wrote: In a word, UAC (user access control). Either turn off UAC in the users applet, or use a cmd.exe shell that you Good point. I think UAC is going away. I like running with protections, but that cache-and-don't-tell maneuver was really B.S. Why not just issue a

Re: [EMAIL PROTECTED] Apache Password authentication issues

2008-03-28 Thread Eric Covener
On Thu, Mar 27, 2008 at 3:52 PM, Sailesh Krishnamurthy [EMAIL PROTECTED] wrote: Hi, We tried setting up password authentication on one of the directories in our apache virtualhost using a .htaccess file . we now notice that the password authentication is working only for some users and not

Re: [EMAIL PROTECTED] Apache Password authentication issues

2008-03-28 Thread Sailesh Krishnamurthy
actually, I found out what the problem was? now wondering how to rectify it. see our apache web server also uses a custom authentication module and the earlier LoadModule config overrides the AllowOverride ALL directive that is set in the Directory entry. Any ideas how to get around this? On

Re: [EMAIL PROTECTED] modify Host header

2008-03-28 Thread Eqbal Z
I am running into a strage issue on one of the servers. I have tried it on three servers so far and it works on two of them. On of the servers MY_HTTP_HOST is being set as $1 instead of $1 being replaced by the backreference in the regular expression. Anyone have any idea why that could be. The

[EMAIL PROTECTED] Where to place rewrite rules?

2008-03-28 Thread Sam Carleton
My application uses Apache to run a closed network Kiosk system. One of my customers is having very strange performance issues, it is taking 45 seconds to load 12 thumbnail files that are only about 4K in size. I am using some rewrite rules to make dynamic pages and file handlers look static to