Re: [users@httpd] Restricting access to all folders except one using mod_rewrite

2011-09-15 Thread Eric Covener
On Thu, Sep 15, 2011 at 7:55 PM, Sebastian Tarach wrote: > I'm just curious why it isn't working when I think it should. For the > production server I will be using nginx web server either way. I just > want to learn something useful about Apache. Additionally Directory > and DirectoryMatch aren't

Re: [users@httpd] Restricting access to all folders except one using mod_rewrite

2011-09-15 Thread Sebastian Tarach
I'm just curious why it isn't working when I think it should. For the production server I will be using nginx web server either way. I just want to learn something useful about Apache. Additionally Directory and DirectoryMatch aren't avaiable in htaccess files. So my question still remains. On 16

Re: [users@httpd] mod_dbd, mod_authn_dbd examples

2011-09-15 Thread Igor Cicimov
Hmmm not sure really but that driver name sounds like is for PostgreSQL database :) On Sep 16, 2011 7:01 AM, "J.Lance Wilkinson" wrote: > Apologies in advance if this isn't formatted or researched as you'd like. I've > been using Apache HTTPD for many, many years, but have never needed to set thi

Re: [users@httpd] mod_dbd, mod_authn_dbd examples

2011-09-15 Thread Nick Kew
On Thu, 15 Sep 2011 17:01:17 -0400 "J.Lance Wilkinson" wrote: > Now, I am NOT a Database person. I used what was in the mod_authn_dbd > documentation just to get started. The mod_dbd docs says this selects an > apr_dbd driver name. It's not clear to me if I even HAVE any apr_dbd drivers > in

Re: [users@httpd] Restricting access to all folders except one using mod_rewrite

2011-09-15 Thread Igor Cicimov
Why dont you use Directory statement instead with Allow/Deny and modify the default 404 page? On Sep 16, 2011 4:13 AM, "Sebastian Tarach" wrote: > Hello, > I have all my files that I want clients to have access to in one > folder named assets. I want to forbid direct access to any other > folders

Re: [users@httpd] not able to write file in directory

2011-09-15 Thread Igor Cicimov
The user you are running apache under needs to have write access to that directory. Igor On Sep 16, 2011 7:35 AM, "Rajeev Prasad" wrote: > hello, > I have my site config as below on ubuntu: > > I am running a perl cgi which is trying to write a file under /var/www/ testwebsite.com/www/data folder

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Frank Gingras
On 09/15/2011 05:35 PM, Rajeev Prasad wrote: thank you Terry, even th ebelow mesg was from yahoo, had rich text formatting... but i have resent my mesg in plain text, lets see. *From:* Terry Carmen *To:* users@httpd.apache.org *Sent:* Thursday, September 15, 2011 2:38 PM *Subject:* Re: [users

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Rajeev Prasad
thank you Terry,   even th ebelow mesg was from yahoo, had rich text formatting...   but i have resent my mesg in plain text, lets see.       From: Terry Carmen To: users@httpd.apache.org Sent: Thursday, September 15, 2011 2:38 PM Subject: Re: [users@httpd] ServerAlias and RewriteRule Quoting R

[users@httpd] not able to write file in directory

2011-09-15 Thread Rajeev Prasad
hello, I have my site config as below on ubuntu:   I am running a perl cgi which is trying to write a file under /var/www/testwebsite.com/www/data folder, but i am getting error like this:    [error] [client x] could not open /var/www/testwebsite.com/www/data/testfile: Permission denied, refe

[users@httpd] mod_dbd, mod_authn_dbd examples

2011-09-15 Thread J.Lance Wilkinson
Apologies in advance if this isn't formatted or researched as you'd like. I've been using Apache HTTPD for many, many years, but have never needed to set this aspect of configuration up. In the wake of last week's "Single Value Authentication Module" query, and the decision to follow the sage

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Terry Carmen
Quoting Rajeev Prasad : > Hello, >   > I am not sure why I my emails are getting this error (and not being > published in list), when i send a fresh email to list. FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_PASS, URI_OBFU_WWW Because you're sending from Yahoo, which has a history of a

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Rajeev Prasad
Hello,   I am not sure why I my emails are getting this error (and not being published in list), when i send a fresh email to list.     body   any advice? thank you. Rajeev     From: Tom Evans To: users@httpd.apache.org Sent: Wednesday, August 17, 2011 11:03 AM Subject: Re: [users@httpd] ServerA

[users@httpd] Restricting access to all folders except one using mod_rewrite

2011-09-15 Thread Sebastian Tarach
Hello, I have all my files that I want clients to have access to in one folder named assets. I want to forbid direct access to any other folders and their files. RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule \.(?!assets.+)$ index.php?path=error404 RewriteC

Re: [users@httpd] Mod-Proxy

2011-09-15 Thread Suneet Shah
Hi Joshua, thanks for your help with this. this is application was developed by a 3rd party. Sounds like this will be fun Regards, Suneet On Thu, Sep 15, 2011 at 1:40 PM, Joshua Stoutenburg wrote: > On Thu, Sep 15, 2011 at 10:09 AM, Suneet Shah > wrote: > > Hello, > > > > I am trying to setup

Re: [users@httpd] Mod-Proxy

2011-09-15 Thread Joshua Stoutenburg
On Thu, Sep 15, 2011 at 10:09 AM, Suneet Shah wrote: > Hello, > > I am trying to setup a reverse proxy to one of our applications, but I am > finding that the page comes up, but all the urls that load the stylesheets > and javascript are all broken. > > I have pasted below my configuration. Any th

[users@httpd] Mod-Proxy

2011-09-15 Thread Suneet Shah
Hello, I am trying to setup a reverse proxy to one of our applications, but I am finding that the page comes up, but all the urls that load the stylesheets and javascript are all broken. I have pasted below my configuration. Any thoughts on what I am doing wrong or overlooked? ProxyPass http:/

Re: [users@httpd] Compile Apache HTTP with customized OpenSSL version [SOLVED]

2011-09-15 Thread Oscar A Figueroa
Thanks Ian! I solved exporting some environment variables before the ./configure: CPPFLAGS="-I/usr/local/openssl-0.9.8r/include" LDFLAGS="-I/usr/local/openssl-0.9.8r/lib -R/usr/local/openssl-0.9.8r/lib -L/usr/local/openssl-0.9.8r/lib" LD_LIBRARY_PATH=/usr/local/openssl-0.9.8r/lib:$LD_LIBRARY_PATH

Re: [users@httpd] Notice: Undefined index: HTTP_X_FORWARDED_FOR

2011-09-15 Thread Yehuda Katz
On Thu, Sep 15, 2011 at 7:25 AM, J. Bakshi wrote: > I am trying a small php script in my servers and the both the cases > I get errors as > This is not an Apache question, so you should really ask it on a PHP list. That said: > > ` ` ` ` > Notice: Undefined index: HTTP_X_FORWARDED_FOR > ` ` ` `

Re: [users@httpd] Apache Gui - opinions please

2011-09-15 Thread Jorge Schrauwen
Hi Joshua, It's been since the 2.0 days I had a peak at Apache GUI... I personally did not like it at all. I found it quicker to just open the config file in notepad++ In the end I ended up writing my own tools like http://code.google.com/p/vhm-mysql/ (outdate and honestly not good) I replaced it

[users@httpd] Notice: Undefined index: HTTP_X_FORWARDED_FOR

2011-09-15 Thread J. Bakshi
Hello list, I am trying a small php script in my servers and the both the cases I get errors as ` ` ` ` Notice: Undefined index: HTTP_X_FORWARDED_FOR ` ` ` ` Am I missing any apache module in those server ? TIA - The official

Re: [users@httpd] Apache Gui - opinions please

2011-09-15 Thread Joshua Stoutenburg
On Wed, Sep 14, 2011 at 10:52 PM, William A. Rowe Jr. wrote: > On 9/15/2011 12:14 AM, Joshua Stoutenburg wrote: >> I'm looking for a GUI tool to manage my servers, and wanted to see >> what response this one would get. > > Then, we assume as a user who is willing to do a bit of homework > up front