Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-22 Thread Asimananda Mohanty
Hi, I did run some openssl commands and here is what I saw. # openssl s_client -connect ldap server ip:636 verify error:num=20:unable to get local issuer certificate verify return:1 verify error:num=21:unable to verify the first certificate verify return:1 No client certificate CA names sent

Re: [us...@httpd] PHP5

2009-09-22 Thread Silvio Siefke
Hey, Apache runs with PHP as a module. Indeed, the side remains white by the call from phpinfo. There no log entrys. Greeting Silvio - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-22 Thread Asimananda Mohanty
Hi All, Finally, I am able to solve the issue. I just replaced the IP address used in AuthLDAPUrl with the hostname that has been used during creating the certificate (CN) and that worked for me. Thank you very much for all the support. Regards Asimananda On Tue, Sep 22, 2009 at 12:23 PM,

Re: [us...@httpd] PHP5

2009-09-22 Thread Serge Fonville
Apache runs with PHP as a module. Indeed, the side remains white by the call from phpinfo. There no log entrys. Just a few: What is the URL. What is your exisiting source (.php file) What logs are you referring to What is the relevant part of httpd.conf What is your path Have you created a

[us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Petr Hracek
Hello *, sorry for bother you with this question but I would like to ask you if it's possible to setup Proxy as is mentioned below. In the my configuration file of Apache 2.2.10 is for setting up my application. ProxyPassReverse/myapplication/ http://127.0.0.1:1/http://127.0.0.1:10123/

[us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
Hello, I am looking for a way to grant authenticated users access to a directory matching their username and denying access to all other directories. The idea is that I have dozens of WebDAV and need a way to avoid putting a directive like Directory /var/www/webdav/user999 Require user

[us...@httpd] Re: Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread LuKreme
On 22-Sep-2009, at 05:31, Joahnn Gile wrote: Is there some other solution for automatically granting authenticated users access to their individual directory? Have your user-creation tools create /etc/apache2/users/user999.conf file when the user is created. Isn't that the usual way? --

Re: [us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Nick Kew
Petr Hracek wrote: Hello *, sorry for bother you with this question but I would like to ask you if it's possible to setup Proxy as is mentioned below. In the my configuration file of Apache 2.2.10 is for setting up my application. ProxyPassReverse/myapplication/

Re: [us...@httpd] PHP5

2009-09-22 Thread Silvio Siefke
Serge Fonville schrieb: Apache runs with PHP as a module. Indeed, the side remains white by the call from phpinfo. There no log entrys. Just a few: What is the URL. http://trade.silviosiefke.de/test.php What is your exisiting source (.php file) ? phpinfo(); ? What

Re: [us...@httpd] Problem with Apache 2.2.13 and SSLOptions +FakeBasicAuth

2009-09-22 Thread David Cassidy
Jim is there any reason that you're not using the weblogic module ? wl_proxy i think ? i think that it might be more useful than just using apache as a reverse proxy. wl_proxy tells apache which boxes in your cluster are alive and ready to do work for example. David On 12/09/09 22:39,

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Nick Kew
Joahnn Gile wrote: Hello, I am looking for a way to grant authenticated users access to a directory matching their username and denying access to all other directories. The idea is that I have dozens of WebDAV and need a way to avoid putting a directive like Directory /var/www/webdav/user999

Re: [us...@httpd] PHP5

2009-09-22 Thread Serge Fonville
On Tue, Sep 22, 2009 at 1:41 PM, Silvio Siefke lis...@silviosiefke.dewrote: Serge Fonville schrieb: Apache runs with PHP as a module. Indeed, the side remains white by the call from phpinfo. There no log entrys. Just a few: What is the URL.

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
--- Nick Kew n...@webthing.com schrieb am Di, 22.9.2009: Easier just to have the same URL for everyone (protected with Require valid-user or similar), and map that to the directory for the authenticated user.  Rewriterule can check for the authenticated user. Do you mean like this:

[us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Hello list, In my linux server ( opensuse 11) , I am running apache with some vhosts. All the virtual-hosts are running well. But the apache log file is common for all the virtual hosts ; that is /etc/var/log/apache/access.log. How can I get per vhost log so that I can use awstat as well as

RE: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Geurts, G.P.T.M.
Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile for that vhost. Accesslogs not belonging to that vhost

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Geurts, G.P.T.M. wrote: Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile for that vhost.

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
J. Bakshi wrote: Geurts, G.P.T.M. wrote: Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Serge Fonville
Hi, I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch That should get you started. It might require som fiddling... HTH Regards, Serge Fonville On Tue, Sep 22, 2009 at 2:24 PM, J.

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance issue. To cope with that an alternative is to log all the vhost at

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 07:53 , Joahnn Gile wrote: --- Nick Kew n...@webthing.com schrieb am Di, 22.9.2009: Easier just to have the same URL for everyone (protected with Require valid-user or similar), and map that to the directory for the authenticated user. Rewriterule can check for the

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Serge Fonville wrote: Hi, I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch That should get you started. It might require som fiddling... HTH Hello, Thanks for your

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Rich Bowen wrote: On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance issue. To cope with that an alternative is to

Re: [us...@httpd] css styles

2009-09-22 Thread Matus UHLAR - fantomas
Rodrigo Aliste P. wrote: If you access your website like for example http://test.com/./css/style.css; what do you get? (change test.com http://test.com with your website, host or ip address) On 17.09.09 20:17, pch0317 wrote: If I access my website like for example

Re: [us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Petr Hracek
Unfortunatelly I have found that we have a system where is installed apache 1.3. It would be good to have solution for both. Apache 1.3 and Apache 2.2 regards Petr 2009/9/22 Nick Kew n...@webthing.com Petr Hracek wrote: Hello *, sorry for bother you with this question but I would like to

RE: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Geurts, G.P.T.M.
Using syslog-ng you can log to different facilities and filter acordingly, or you can filter by contense of the message, so a %v in the LogFormat enables per vhost logging. Don't know anything about the performance impact to the server though... I know there is a BufferLog directive which enables

[us...@httpd] Reset the REQUEST_URI variable with mod_rewrite

2009-09-22 Thread howard chen
Hello, Consider rewrite rule as: RewriteRule ^/test.php /test2.php [PT,L] So when I access it via http://www.example.com/test.php I want the field REQUEST_URI shown as test2.php, is it possible? THanks. - The official

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 08:56 , J. Bakshi wrote: Rich Bowen wrote: On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread Joahnn Gile
--- Rich Bowen rbo...@rcbowen.com schrieb am Di, 22.9.2009: Consider using mod_authz_owner which will do authentication based on the username that owns the file/directory. Assuming that the directories in question will be owned by that user, that should work. Unfortunately that will not work

Re: [us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Tom Evans
On Tue, 2009-09-22 at 14:59 +0200, Petr Hracek wrote: Unfortunatelly I have found that we have a system where is installed apache 1.3. It would be good to have solution for both. Apache 1.3 and Apache 2.2 regards Petr If you take 1.3 and add the missing features, then you would have 2.2

Re: [us...@httpd] Problem with settings of Proxy

2009-09-22 Thread Petr Hracek
Could you please help me how to configure apache so that apache2.2 will work for my case? When to user will start URL with https://ipaddress/wbm_new_ip/ then new_ip should be called in the new window so that https://new_ip/ will be opened. RewriteRules are: RewriteRule ^/wbm_(.*)$ http://$1

[us...@httpd] Log to DBMS other than MySQL? [was Re: how to get logs per vhosts ?]

2009-09-22 Thread Mark H. Wood
On Tue, Sep 22, 2009 at 02:28:51PM +0200, Serge Fonville wrote: I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch So, are there any log-to-dbms modules for Apache HTTPD out there

Re: [us...@httpd] PHP5

2009-09-22 Thread Silvio Siefke
Serge Fonville schrieb: You must have logs either access or error.log access.log 127.0.0.1 - - [22/Sep/2009:16:05:01 +0200] GET /test.php HTTP/1.1 200 19 error.log [Tue Sep 22 16:04:53 2009] [notice] Apache/2.2.13 (Win32) PHP/5.2.11 configured -- resuming normal operations [Tue Sep 22

Re: [us...@httpd] Log to DBMS other than MySQL? [was Re: how to get logs per vhosts ?]

2009-09-22 Thread Serge Fonville
On Tue, Sep 22, 2009 at 4:04 PM, Mark H. Wood mw...@iupui.edu wrote: On Tue, Sep 22, 2009 at 02:28:51PM +0200, Serge Fonville wrote: I'd consider logging to a database instead Read into mod_log_mysql

Re: [us...@httpd] PHP5

2009-09-22 Thread Serge Fonville
I just noticed it comes a window what say The requested operation has failed. Have you installed visual C++ redistributables 2005/2008? That might resolve the error HTH Regards, Serge Fonville On Tue, Sep 22, 2009 at 4:07 PM, Silvio Siefke lis...@silviosiefke.dewrote: Serge Fonville

Re: [us...@httpd] Automatically grant authenticated users access to a dir matching their username

2009-09-22 Thread André Warnier
Joahnn Gile wrote: --- Rich Bowen rbo...@rcbowen.com schrieb am Di, 22.9.2009: Consider using mod_authz_owner which will do authentication based on the username that owns the file/directory. Assuming that the directories in question will be owned by that user, that should work. Unfortunately

Re: [us...@httpd] Log to DBMS other than MySQL? [was Re: how to get logs per vhosts ?]

2009-09-22 Thread Tom Evans
On Tue, 2009-09-22 at 10:04 -0400, Mark H. Wood wrote: On Tue, Sep 22, 2009 at 02:28:51PM +0200, Serge Fonville wrote: I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch So,

Re: [us...@httpd] Reset the REQUEST_URI variable with mod_rewrite

2009-09-22 Thread sravan kumar
Hello RewriteRule ^/test.php /test2.php [R=301,L] use this in ur redirection , it will redirect as you expected. Sravan On Tue, Sep 22, 2009 at 6:39 PM, howard chen howac...@gmail.com wrote: Hello, Consider rewrite rule as: RewriteRule ^/test.php /test2.php [PT,L] So when I access

[us...@httpd] Authentication for LDAP user or htgroup member

2009-09-22 Thread Maarten te Paske
Hi, I'm building a website that should authenticate to an LDAP server which is not maintained by myself. Authentication requires an 'ldap-attribute' to limit the amount of users than can log in. In addition to that, I'd like to create groups that consist of LDAP users defined in a htgroup-file.

Re: [us...@httpd] PHP5

2009-09-22 Thread Silvio Siefke
Serge Fonville schrieb: Have you installed visual C++ redistributables 2005/2008? Yes i have installed. Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729 Greeting Silvio - The official User-To-User support forum of

Re: [us...@httpd] Log to DBMS other than MySQL? [was Re: how to get logs per vhosts ?]

2009-09-22 Thread Nick Kew
Mark H. Wood wrote: On Tue, Sep 22, 2009 at 02:28:51PM +0200, Serge Fonville wrote: I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch So, are there any log-to-dbms modules for

Re: [us...@httpd] Reset the REQUEST_URI variable with mod_rewrite

2009-09-22 Thread howard chen
Hello, RewriteRule ^/test.php  /test2.php [R=301,L] use this in ur redirection , it will redirect as you expected. In fact, I can do it using the P flag (proxy). But just to know if anything smater... - The official

Re: [us...@httpd] PHP5

2009-09-22 Thread Serge Fonville
Have you restarted our system afterwards? Since the error seems to be in the executable and not in the configuration (httpd -t) I'd check dependency walker. Check the missing dependencies and get those resolved HTH Regards, Serge Fonville On Tue, Sep 22, 2009 at 4:55 PM, Silvio Siefke

RE: [us...@httpd] Apache configuration for a high load

2009-09-22 Thread Manoj Samtani
I think you must use mod_expires (caching), mod_deflate (compression) and php-eaccelerator so that..apache process will be more free and takes less memory, which helps in increasing the number of connections... :) Date: Fri, 4 Sep 2009 23:35:57 -0700 From: lmzaldi...@gmail.com To:

RE: [us...@httpd] compilation error

2009-09-22 Thread Manoj Samtani
please check if SELinux is enabled or denying access for compilcation. Date: Thu, 27 Aug 2009 23:40:34 -0700 From: melanie_pfe...@yahoo.co.uk To: users@httpd.apache.org Subject: [us...@httpd] compilation error Hi, Can you please advise why I have this error upon compilation time