Re: [users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Chris Arnold
On Apr 15, 2013, at 7:41 PM, "Daniel Ruggeri" wrote: > On 4/15/2013 6:34 PM, Chris Arnold wrote: >> Actually, it is the RedirectMatch specifically causing the problem. How to >> specify only match http://apps.somesite.tld? > > You can't. You have to use RewriteCond (as you have) and then use >

Re: [users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Daniel Ruggeri
On 4/15/2013 6:34 PM, Chris Arnold wrote: > Actually, it is the RedirectMatch specifically causing the problem. How to > specify only match http://apps.somesite.tld? You can't. You have to use RewriteCond (as you have) and then use "RewriteRule ^/$ /somealias/" in place of the RedirectMatch that

Re: [users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Chris Arnold
On Mon, Apr 15, 2013 at 6:57 PM, Chris Arnold wrote: > We have a server at http://rootsite.net. We also have another site/app that > runs at http://apps.rootsite.net. We host client applications on our server > using apache so the above site/app needs to be > http://apps.ourclientsdomain.tld. H

Re: [users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Eric Covener
On Mon, Apr 15, 2013 at 6:57 PM, Chris Arnold wrote: > We have a server at http://rootsite.net. We also have another site/app that > runs at http://apps.rootsite.net. We host client applications on our server > using apache so the above site/app needs to be > http://apps.ourclientsdomain.tld. H

[users@httpd] Rewrite Rule Rewriting root site

2013-04-15 Thread Chris Arnold
We have a server at http://rootsite.net. We also have another site/app that runs at http://apps.rootsite.net. We host client applications on our server using apache so the above site/app needs to be http://apps.ourclientsdomain.tld. Here is what i have gotten to work in the site/app virtual hos

Re: [users@httpd] Redirect HTTP to HTTPS does not work (mod_rewrite)

2013-04-15 Thread Igor Cicimov
RewriteRule ^/dashboard$ https://%{HTTP_HOST}/dashboard [R=301,L] On 16/04/2013 7:58 AM, "Felipe Roman" wrote: > Hi, > > I'm trying to configure a specific application (developed in > Python/Django) to run only through HTTPS, what I need is redirect a > specific directory to HTTPS: > > FROM > > h

[users@httpd] Redirect HTTP to HTTPS does not work (mod_rewrite)

2013-04-15 Thread Felipe Roman
Hi, I'm trying to configure a specific application (developed in Python/Django) to run only through HTTPS, what I need is redirect a specific directory to HTTPS: FROM http://myserver.com/dashboard TO https://myserver.com/dashboard I created some redirect rules on apache httpd.conf like that:

Re: [users@httpd] Query Str

2013-04-15 Thread Ian C
Eric, You we're right, they don't rellay relate but you got me thinking and digging some more, what in fact was happening was that I was providing the url & get params on the browser's address bar (still in development), and in turn the loaded html was calling the cgi as an event source -- WI

Re: [users@httpd] Query Str

2013-04-15 Thread Eric Covener
How do these two URL's relate to eachother? /JC84/SBCs.html?SBC=A1 /JC84/cgi-bin/SBC.cgi - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] Apache2 with mod_chroot - mysql problem

2013-04-15 Thread Karol Pomaski
Hey all, I use mod_chroot with my Apache/2.2.16 (Debian) version. While switching on /etc/init.d/apache2 start there is the mysql connection. All my pages connect without any problem. While I do apache2ctl -k graceful my pages doesn't get the connection to mysql anymore. My chroot folder is /var/

[users@httpd] Query Str

2013-04-15 Thread Ian C
Sorry for reposting but I'm still stumped.  If anyone has any advice at all... thanks Hi everyone, I'm new to web configurations etc. I hope someone can help me with this, I've been googling and reading docs for many hours. I have Apache 2.2.19 which has been running fine, until I needed a ne

Re: [users@httpd] Apache 2 Mod_Chroot problem

2013-04-15 Thread Tom Evans
On Sun, Apr 14, 2013 at 7:09 PM, Karol Pomaski wrote: > Well, I have checked the log and I see this line: > > [Sun Apr 14 06:25:04 2013] [notice] Graceful restart requested, doing restart > apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error > on line 1 of /etc/apache2/mo