Re[2]: [RESOLVED] RewriteRule / RewriteCond don't interpolate server variables in pattern regex

2008-12-15 Thread Павел Устюгов
Hello, Bob Ionescu. > 2008/12/15 Pavel Ustyugov : >> RewriteEngine On >> RewriteBase / >> RewriteCond %{REMOTE_USER} !^$ >> RewriteRule !^usr/%{REMOTE_USER}/ /usr/%{REMOTE_USER}/ [R] >> === >> If user try to get out from own dir, server forcibly redirect him to

Re: apache

2008-12-15 Thread Evan Platt
Jonesy wrote: Yes, one should always use the tried and true Subject: help!!! :-) Or.. URGENT! or ASSISTANCE REQUIRED! or I have a question. Those are always good :) - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

RE: help with rewrites - changing the base path

2008-12-15 Thread Chris Evens
Matthew Is this more like a directory name change if so all you need is RewriteRule ^/techblog(.*)$ /technology-blog$1 [R=301,L] R is the browser return code and also forces the users browser to refresh. It is also possible to make this transfer internally without a response to the users browse

help with rewrites - changing the base path

2008-12-15 Thread Matthew Sacks
i am trying to change the base path of a directory to rewrite to a new location, there are no files in the location, so it is just a cosmetic/seo change. i have some rewrites that are put in place by my hosting provider, and im having some difficulty getting the rewrite to work: here is my .htac

Re: apache

2008-12-15 Thread André Warnier
Jonesy wrote: On Mon, 15 Dec 2008 15:10:19 -0500, Brian Mearns wrote: Sorry, I can't help with your problem, I just wanted to give a little friendly advice about posting to the mailing list: The subject of your email is "apache", which has an entropy of almost 0. Yes, one should always use th

Re: apache

2008-12-15 Thread Jonesy
On Mon, 15 Dec 2008 15:10:19 -0500, Brian Mearns wrote: > Sorry, I can't help with your problem, I just wanted to give a little > friendly advice about posting to the mailing list: The subject of your > email is "apache", which has an entropy of almost 0. Yes, one should always use the tried and

Re: X-Forwarded-For

2008-12-15 Thread Scott Gifford
"Mohit Anchlia" writes: > Our traffic is going through proxy, how can I enable X-Forwarded-For > in apache to get the original IP. Does this also work for users using > ISP (private IP) and are behind the ISP router. Do you mean you have Apache acting as a proxy and you want it to send the X-For

Re: apache

2008-12-15 Thread Eric Covener
On Mon, Dec 15, 2008 at 2:37 PM, monkey wrote: > How can I get apache to interpret both php and html extenstions at the same > time > for PHP and apache's virtual includes? > > Basically I need an html and php file to be parsed for apache includes and php > includes. How have you configured Apac

Re: apache

2008-12-15 Thread Brian Mearns
Sorry, I can't help with your problem, I just wanted to give a little friendly advice about posting to the mailing list: The subject of your email is "apache", which has an entropy of almost 0. That is to say, it conveys no information about what your problem is because the fact that you're writing

Re: syntax error

2008-12-15 Thread Brian Mearns
Just off the top of my head, try changing the Listen directive from Listen 80 to Listen 127.0.0.1:80 -Brian -- Feel free to contact me using PGP Encryption: Key Id: 0x3AA70848 Available from: http://pgp.mit.edu/ On Mon, Dec 15, 2008 at 10:33 AM, James Taylor-Bye wrote: > This is the complete

apache

2008-12-15 Thread monkey
How can I get apache to interpret both php and html extenstions at the same time for PHP and apache's virtual includes? Basically I need an html and php file to be parsed for apache includes and php includes. I'm running Apache 2. thanks in advanced for any assitance -

X-Forwarded-For

2008-12-15 Thread Mohit Anchlia
Our traffic is going through proxy, how can I enable X-Forwarded-For in apache to get the original IP. Does this also work for users using ISP (private IP) and are behind the ISP router. - To unsubscribe, e-mail: users-unsubscr...

Re: RewriteRule / RewriteCond don't interpolate server variables in pattern regex

2008-12-15 Thread Bob Ionescu
2008/12/15 Pavel Ustyugov : > RewriteEngine On > RewriteBase / > RewriteCond %{REMOTE_USER} !^$ > RewriteRule !^usr/%{REMOTE_USER}/ /usr/%{REMOTE_USER}/ [R] > === > If user try to get out from own dir, server forcibly redirect him to correct > dir. > But, this ru

htcacheclean ignoring -l (limit)?

2008-12-15 Thread Matthew Tice
I'm running apache 2.2.9 on several nodes that serve static content only. I'm running into a problem where the disk cache is filling up (and subsequently problems serving the files). I've the following configuration: # /etc/fstab tmpfs /www/cache tmpfs auto,rw,size=1200M,nr_inodes=1M 0 0 # ps au

RE: syntax error

2008-12-15 Thread Arthur, Simon
It sounds like (at least) two problems: 1) You may already have another web server, e.g. IIS bound to port 80. The simplest solution is to stop the competing service, or assign it to another port. If you can't do this, you have several options, including: a) Add another IP address to your h

RE: syntax error

2008-12-15 Thread James Taylor-Bye
Ok status update I have changed the SeverRoot to reflect the change as mentioned below but I now get the following error :- Httpd.exe : could not reliably determine the servers fully qualified domain name, using {IP ADDRESS REMOVED FOR SECURITY} for server name only one usage of each sock

Re: combine client certificate authentication with ldap based authentication

2008-12-15 Thread Eric Covener
On Mon, Dec 15, 2008 at 3:55 AM, Sebastian Reitenbach wrote: > Hi, > > I want to authenticate users on apache. In case they have a valid x509 > client certificate in their browser for authentication, then that should be > sufficient. In case the client does not have such a certificate, the user >

RE: syntax error

2008-12-15 Thread Arthur, Simon
Hi James, It sounds like the ServerRoot directive has been amended to point to the location of the website being hosted. It should point at the location where apache is installed. For example, in a default install on windows, it looks like this: ServerRoot "C:/Program Files/Apache Software

the /SYSV00000000 file in shared-mapping mem of apache

2008-12-15 Thread Shaojie Liu
all, we have two servers with exactly the same hardware running apache service. but always, there are difference between apache processes on the two boxes, in "shared memory" of the output result of cmd- "top". in detail the difference lies in the file of /SYSV, as is displayed below(this

syntax error

2008-12-15 Thread James Taylor-Bye
Hello again, it’s me. (oh boy i hear you groan, lol) I have setup apache to use my pc as a local server by typing localhost in the sever and domain sections during setup. Now when I run apache i get the following error :- Httpd.exe : syntax error on line 60 of c:/program files/Apahe softw

RewriteRule / RewriteCond don't interpolate server variables in pattern regex

2008-12-15 Thread Pavel Ustyugov
I have vhost like this structure: /www/some_host/htdocs - doc root /www/some_host/htdocs/usr/user1 - user1 dir /www/some_host/htdocs/usr/user2 - user2 dir /www/some_host/htdocs/usr/user3 - user3 dir ... I use authorization for this vhost, and try restrict every autorized user inside his user di

combine client certificate authentication with ldap based authentication

2008-12-15 Thread Sebastian Reitenbach
Hi, I want to authenticate users on apache. In case they have a valid x509 client certificate in their browser for authentication, then that should be sufficient. In case the client does not have such a certificate, the user should be able to authenticate via username/password against ldap. I