[us...@httpd] Problem with ProxyPass

2010-10-06 Thread Michelle Konzack
Good morning, I have to use a singel backup IP on a VHDSL and redirect the whole :80 traffic to a DMZ where I want to use "apache2" as proxy to redirect traffic to some internal servers. I tried to use [ '/etc/apache2/conf.d/apache_proxy' ]-- NameVirtualHos

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grant wrote: > It was ServerName. I had ServerName defined as www.example1.com in > Gentoo's /etc/apache2/vhosts.d/default_vhost.include. I removed it > from there and added it to each of my SSL VirtualHost blocks and now > everything works. I noti

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread Grant
>> I'm sorry that this message is not as detailed as it could be.  This >> is my third attempt at sending it.  It keeps tripping the spam filter, >> probably because of all the IP and domain references. > odd, the list isn't configured to trip on ip or domain references. must > be a glitch somewher

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grant wrote: >>> >>> ... >>> SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt >>> SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key >>> ... >>> >>> >>> >>> ... >>> SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt >>> SSLCer

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread Grant
>> >> ... >> SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt >> SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key >> ... >> >> >> >> ... >> SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt >> SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key >> ... >> > > no

Re: [us...@httpd] Require user $var

2010-10-06 Thread Nick Kew
On Wed, 6 Oct 2010 16:08:08 +0100 Nick Kew wrote: > On Wed, 6 Oct 2010 10:47:44 -0400 > Gary Webster wrote: > > > How do I accomplish something like: > > The easy tool for this Dammit, just overlooked the really easy ... Require file-owner which should be ideal since you don't have multiple

Re: [us...@httpd] Require user $var

2010-10-06 Thread Nick Kew
On Wed, 6 Oct 2010 10:47:44 -0400 Gary Webster wrote: > How do I accomplish something like: The easy tool for this kind of thing is mod_macro: http://cri.ensmp.fr/~coelho/mod_macro/ If third-party modules are a problem (e.g. due to a troublesome boss), there's a dirty approach. Create a wildca

[us...@httpd] Require user $var

2010-10-06 Thread Gary Webster
Hello. I have directories: /var/www/html/project/mary /var/www/html/project/joe /var/www/html/project/john /var/www/html/project/fred . . How do I accomplish something like: AuthName "project" AuthType Basic AuthBasicProvider dbm AuthDBMUserFile whatever Require user $user rather tha

Re: [us...@httpd] Replacing TEXT on the Response Page

2010-10-06 Thread Rainer Jung
On 06.10.2010 14:11, Tushar Chavan wrote: Hi Expert, Below is our scenario Browser ->Apache Server -->Web Dispatcher ->SAP J2EE Engine -->SAP SRM Server.. Now when ever we execute https://apache_server_host:1443/irj , we get a page. Now if I want to replace certain text on the

Re: [us...@httpd] Replacing TEXT on the Response Page

2010-10-06 Thread Joost de Heer
> Below is our scenario > > Browser ->Apache Server -->Web Dispatcher ->SAP J2EE Engine > -->SAP SRM Server.. > > Now when ever we execute https://apache_server_host:1443/irj , we get a > page. Now if I want to replace certain text on the page before displaying > to the user. ( e.g

[us...@httpd] Replacing TEXT on the Response Page

2010-10-06 Thread Tushar Chavan
Hi Expert, Below is our scenario Browser ->Apache Server -->Web Dispatcher ->SAP J2EE Engine -->SAP SRM Server.. Now when ever we execute https://apache_server_host:1443/irj , we get a page. Now if I want to replace certain text on the page before displaying to the

Re: [us...@httpd] Rewrite main.css to main-min.css

2010-10-06 Thread Igor Galić
- "Craig Huffstetler" wrote: > > Is it possible to use mod_rewrite to alter a request for main.css > to > > main-min.css? > > Yes, but for some reason I think this is more complex. However, I > will > answer given the scope given: > > If mod_rewrite is active then add this to .htaccess: N

Re: [us...@httpd] Pre compressed css and javascript

2010-10-06 Thread Ben Short
I got it all working. My configuration is shown below. Thanks for the help. ServerAdmin ben.sh...@nexusalpha.com DocumentRoot "/usr/local/apache2/docs/www.journeycheck.southwesttrains.co.uk/" ServerName www.journeycheck.southwesttrains.co.uk RewriteEngine On

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread Jonas Eckerman
On 2010-10-04 21:39, Rainer Jung wrote: > I think you can define the contents of the VirtualHost > container by a macro, but not the container itself, so e.g. Nah. I'm defining a whole bunch of virtual hosts by macros. It works just fine. Must be some other limitation you were thinking about. Re

Re: [us...@httpd] Rewrite main.css to main-min.css

2010-10-06 Thread Ben Short
Never mind, I altered my build to not include the main.css and name the main-min.css main.css. Thanks On 6 October 2010 09:29, Ben Short wrote: > Hi Craig, > > Some background... > > As part of the build process my web application minimizes and gzips > all the style sheets and javascript files.

Re: [us...@httpd] Rewrite main.css to main-min.css

2010-10-06 Thread Ben Short
Hi Craig, Some background... As part of the build process my web application minimizes and gzips all the style sheets and javascript files. So I end up with main.css main-min.css and main-min.css.gz. The web page will make a request for main.css but I need to use rewrite to return then main-min

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-06 Thread J. Greenlees
Grant wrote: > > ... > SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key > ... > > > > ... > SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key > ... > no