[users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
Hello all, I am switching from LiteSpeed webserver to Apache and having a real issue with mod_rewrite. First of all here are the details of apache: Server version: Apache/2.2.17 (Unix) Server built: Jan 20 2011 16:15:22 Server's Module Magic Number: 20051115:25 Server loaded: APR 1.4.2, APR-

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > Did you set RewriteEngine on? > > Where do you define your rules? If there's a VirtualHost handling the > request, they need to be defined there. Hello Eric, Thank you for the response. Yes it is a virtual host and I am using the following directives for it:

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- > wrote: > > - Original Message - > >> Did you set RewriteEngine on? > >> > >> Where do you define your rules? If there's a VirtualHost handling > >

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > What RewriteLogLevel is that? Try 9. > > On Thu, Jan 20, 2011 at 3:23 PM, --[ UxBoD ]-- > wrote: > > - Original Message - > >> On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- > >> wrote: > >> > - Original

Re: [users@httpd] mod_rewrite woes

2011-01-20 Thread --[ UxBoD ]--
- Original Message - > you have rules in htaccess subverting your rules in httpd.conf. Hmm, in httpd.conf I have the following directives for the root directory: # Options None AllowOverride None Order deny,allow Deny from all # # Note that from this point forward you m

Re: [users@httpd] mod_rewrite woes

2011-01-21 Thread --[ UxBoD ]--
- Original Message - > On 01/21/2011 08:58 AM, Mark Wiltshire wrote: > > Hi UxBoD > > > > Can you confirm you have > > > > RewriteCond > > RewriteRule > > > > for each of you domains, I believe if you write multiple > > RewriteCon

[users@httpd] Password Protection Ignored

2011-01-22 Thread --[ UxBoD ]--
Hi, I have a reports directory I wish to secure and have created the necessary .htaccess file: AuthUserFile /www/security/somedomain_access AuthType Basic AuthName "Restricted Access" Require user someuser I believe my virtual host config is correct: ServerAdmin webmas...@somedomain.co.uk

Re: [users@httpd] Password Protection Ignored

2011-01-23 Thread --[ UxBoD ]--
- Original Message - > Have you checked the Order directive? > > Also I usually have the Basic authentication in a Location tag to > ensure its been applied to the right URL. > > On Sat, Jan 22, 2011 at 11:45 PM, --[ UxBoD ]-- > wrote: > > Hi, > > >

Re: [users@httpd] Password Protection Ignored

2011-01-24 Thread --[ UxBoD ]--
- Original Message - > On 1/22/11 1:45 PM, --[ UxBoD ]-- wrote: > > Hi, > > > > I have a reports directory I wish to secure and have created the > > necessary .htaccess file: > > Don't. > Just use the configuration file if you have access to

[users@httpd] Help with cache tuning

2011-02-03 Thread --[ UxBoD ]--
Hello all, I have been trying to tune my Apache vhost config and hoping for some help to critique, flame and slap me with a wet fish for being so silly. So this is my config so far: ServerAdmin webmas...@somedomain.com DocumentRoot "/www/somedomain.com" AllowOverride All

[users@httpd] Chroot a virtual host

2011-04-19 Thread --[ UxBoD ]--
Hi, I have noticed that when running Joomla, or in-fact any browsing capable PHP code, I am able to navigate above my virtual host document root and look at other virtual host files. How would one stop this ? I have taken a look at mod_chroot but that does not seem to work as ChrootDir can onl

Re: [users@httpd] Chroot a virtual host

2011-04-20 Thread --[ UxBoD ]--
- Original Message - > Hi, > > I have noticed that when running Joomla, or in-fact any browsing > capable PHP code, I am able to navigate above my virtual host > document root and look at other virtual host files. > > How would one stop this ? I have taken a look at mod_chroot but that >

Re: [users@httpd] Chroot a virtual host

2011-05-04 Thread --[ UxBoD ]--
- Original Message - > - Original Message - > > Hi, > > > > I have noticed that when running Joomla, or in-fact any browsing > > capable PHP code, I am able to navigate above my virtual host > > document root and look at other virtual host files. > > > > How would one stop this ?

Re: [users@httpd] Help with simple mod_rewrite

2011-05-07 Thread --[ UxBoD ]--
- Original Message - > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, > I thought that this little URL rewrite would be oh-so-simple. I > have > not gotten it to work; it is completely ignored. > I wish to redirect any URL to >

Re: [users@httpd] Chroot a virtual host

2011-05-13 Thread --[ UxBoD ]--
- Original Message - > Hello, > > On 20.04.11 00:47, --[ UxBoD ]-- wrote: > > I have noticed that when running Joomla, or in-fact any browsing > > capable > > PHP code, I am able to navigate above my virtual host document root > > and > > look at

[users@httpd] Help with SuExec and FastCGI

2011-05-13 Thread --[ UxBoD ]--
Hi, After having real issues with Apaches 2.2 Chroot feature and Joomla I am going to see if I have better luck with SuExec and FCGI. I believe I have it configured correctly but am receiving the following error: [Fri May 13 08:29:29 2011] [warn] [client XXX] (104)Connection reset by

Re: [users@httpd] Chroot a virtual host

2011-05-13 Thread --[ UxBoD ]--
my chroot > > /chroot/usr/share/zoneinfo/Europe/Rome > /chroot/usr/share/zoneinfo/zone.tab > > Hope this helps. > Marco > > On Fri, May 13, 2011 at 9:35 AM, --[ UxBoD ]-- > wrote: > > - Original Message - > >> Hello, > >> > >&

[users@httpd] OT: PHP-FPM Status Page

2011-05-17 Thread --[ UxBoD ]--
Hi, Has anybody been able to get the PHP-FPM status page to work within Apache? I have tried the following but always receive a 404 error. FastCgiExternalServer /fcgi-bin/php-fpm -host 127.0.0.1:9081 ScriptAlias /fcgi-bin/ /fcgi-bin/ AddHandler php-fcgi .php Action php-fcgi /fc

[users@httpd] mod_proxy and .htaccess

2011-05-17 Thread --[ UxBoD ]--
Hi, I have been experimenting with Apache running on port 80 and then proxying to a second instance on 8080; the second instance being chrooted. All is working great except .htaccess due to it being processed by the second httpd instance which sees all connections coming from 127.0.0.1. Is th

Re: [users@httpd] mod_proxy and .htaccess

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > On Tue, May 17, 2011 at 12:16 PM, --[ UxBoD ]-- > wrote: > > Hi, > > I have been experimenting with Apache running on port 80 and then > > proxying > > to a second instance on 8080; the second instance being chrooted. > > All i

Re: [users@httpd] mod_proxy and .htaccess

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > On Tue, May 17, 2011 at 4:33 PM, --[ UxBoD ]-- > wrote: > > Thanks for the though I must be doing something wrong as I have > > added to the Apache conf running on port 8080: > > > > LoadModule rpaf_module        modules/mod_rpaf-2.0.s

Re: [users@httpd] mod_proxy and .htaccess

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > - Original Message - > > On Tue, May 17, 2011 at 4:33 PM, --[ UxBoD ]-- > > wrote: > > > Thanks for the though I must be doing something wrong as I have > > > added to the Apache conf running on port 8080: > > > &

Re: [users@httpd] mod_proxy and .htaccess

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > > - Original Message - > > - Original Message - > > > On Tue, May 17, 2011 at 4:33 PM, --[ UxBoD ]-- > > > > > > wrote: > > > > Thanks for the though I must be doing something wrong as I have &g

Re: [users@httpd] OT: PHP-FPM Status Page

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > On May 17, 2011 4:18 , "--[ UxBoD ]--" wrote: > > Has anybody been able to get the PHP-FPM status page to work within > > Apache? I have tried the following but always receive a 404 error. > > I have been able to get the PHP-F

Re: [users@httpd] OT: PHP-FPM Status Page

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > On May 17, 2011 15:44 , "--[ UxBoD ]--" wrote: > >> First, make sure that the pm.status_path variable in your > >> php-fpm.conf file is correct for your mod_fastcgi configuration. > >> Second, I believe there is a good

Re: [users@httpd] OT: PHP-FPM Status Page

2011-05-17 Thread --[ UxBoD ]--
- Original Message - > On May 17, 2011 16:47 , "--[ UxBoD ]--" wrote: > > It would have been nice to get it working as I would like to > > implement > > it at work and monitor with OpenNMS; including the ping/pong URLs. > &

[users@httpd] Apache, VHost and SSL

2011-05-19 Thread --[ UxBoD ]--
Hi, May be a silly question but is it now possible to host multiple sites using a single IP and each site has a different SSL cert based on its DN ? -- Thanks, Phil