Re: [users@httpd] Configuring two tomcat instances resolving to a directory on the same domain

2014-05-04 Thread Bremser, Kurt (AMOS Austria GmbH)
Hi! Since you do have a worker for each tomcat instance, you just have to assign the paths to the correct worker in mod_jk.conf: JkMount /path1 ajp13_1 JkMount /path2 ajp13_2 (or whatever your workers are named in workers.properties) Kurt Bremser AMOS Austria Newton was wrong. There is no gr

Re: [users@httpd] Change from ~username to /username questions

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Greetings Yehuda, 1.) You can try something likfe this for one url: RewriteRule ^~blog/(.*)$ /site/legacy/users/blog/$1 [R=301,L] 2.) You can also play with this rewrite to make fit for you: RewriteEngine On #RewriteLog logs/rewrite.log # Uncomment for rewrite logging #RewriteLogLevel 3 # unc

Re: [users@httpd] Change from ~username to /username questions

2014-05-04 Thread Yehuda Katz
mod_userdir does not support this. You would have to create a symlink for each user. Off the top of my head, you might be able to work around it with mod_rewrite, but I can't test any rules now, so I don't want to try writing one. - Y On Fri, May 2, 2014 at 2:18 PM, Rose, John B wrote: > Has

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Thanks for that update. On Sun, May 4, 2014 at 9:36 PM, Eric Covener wrote: > On Sun, May 4, 2014 at 9:03 PM, Otis Dewitt - NOAA Affiliate > wrote: > > Something you should know about mod_proxy_fcgi is that currently it > doesn’t > > support UNIX sockets, > > Supported since 2.4.7 > > ---

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Eric Covener
On Sun, May 4, 2014 at 9:03 PM, Otis Dewitt - NOAA Affiliate wrote: > Something you should know about mod_proxy_fcgi is that currently it doesn’t > support UNIX sockets, Supported since 2.4.7 - To unsubscribe, e-mail: users-unsu

Re: [users@httpd] php fpm and ProxyPass

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Greetings Lennsen, Something you should know about mod_proxy_fcgi is that currently it doesn’t support UNIX sockets, so you must start your PHP-FPM process using a TCP port, which is default when you install it. Daniel Garajau wrote a interesting document on this subject: http://garajau.com.br/bl

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Andy Canfield
I think I've fixed it. My /etc/apache2/apache2.conf still contains these lines as installed: Options FollowSymLinks AllowOverride None Require all denied My /etc/apache2/sites-enabled/00_default.conf contains these lines: DocumentRoot

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Otis Dewitt - NOAA Affiliate
Greetings Eric, Try this: DocumentRoot /www/default/Site AuthType None Options FollowSymLinks AllowOverride None Order allow,deny Allow from all Require all granted Thanks, Otis On Sun, May 4, 2014 at 9:58 AM, Eric Covener wrote: > On S

[users@httpd] php fpm and ProxyPass

2014-05-04 Thread lennsen
I would like to set up php fpm and I am experiencing some difficulties there. 1. is it possible to solve that issue described e.g. here? http://forum.nginx.org/read.php?3,246804,246804 2. assuming that the users executing scripts can not be trusted, how would one ensure that e.g. open_basedir

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Eric Covener
On Sun, May 4, 2014 at 9:48 AM, Andy Canfield wrote: > What am I missing? Maybe you're not getting into that virtualhost? Review the output of apache2ctl -S, and/or add a custom access log for that virtual host. is always a directory on disk. You should also be sure to review the errorlog fo

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Andy Canfield
I am not sure what you mean by "Then your document root has a stanza that allows access to everyone." I removed the disabling comment marks in /etc/apache2/apache2.conf = Options FollowSymLinks AllowOverride None Require all denied Then I have this as /etc/apache2/sites-

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Eric Covener
On Sun, May 4, 2014 at 4:42 AM, Andy Canfield wrote: > This was NOT present under Apache 2.2. Since this file is read before That's usually present in every default configuration. Then your document root has a stanza that allows access to everyone. -- Eric Covener cove...@gmail.com --

Re: [users@httpd] SSI not using locale settings for dates

2014-05-04 Thread Walter H.
On 04.05.2014 12:29, Roel Wagenaar wrote: L.S. In spite of the fact that all my webservers are set to my locale, dates inserted via ssi are always in "C", as it appears, is this intentional or have I missed a config option? Apache2 2.22 on Debian 7 try to set the time format e.g. || if this

[users@httpd] SSI not using locale settings for dates

2014-05-04 Thread Roel Wagenaar
L.S. In spite of the fact that all my webservers are set to my locale, dates inserted via ssi are always in "C", as it appears, is this intentional or have I missed a config option? Apache2 2.22 on Debian 7 -- Roel Wagenaar, Linux-User #469851 with the Linux Counter; http://linuxcounter.net/

Re: [users@httpd] localhost Forbidden

2014-05-04 Thread Andy Canfield
If any of you are following this thread (I have seen no replies), I think I found the monster: In the file /etc/apache2/apache2.conf, under Apache 2.4, there is this chunk of code: Options FollowSymLinks AllowOverride None Require all denied This was NOT present under Apa