Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
2009/9/17 Massimiliano Muccinelli : > 2009/9/17 Krist van Besien : >> On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli >> wrote: >>> Hi all >>> >>> I've got this rule >>> >>> >>>  RewriteEngine On >>>  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >>>  RewriteRule ^$ http://www

Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
2009/9/17 Krist van Besien : > On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli > wrote: >> Hi all >> >> I've got this rule >> >> >>  RewriteEngine On >>  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >>  RewriteRule ^$ http://www.manitese.it/landing [R=301,L] >> >> >> It

Re: [us...@httpd] NameVirtualHost: Questions on proper usage

2009-09-16 Thread Krist van Besien
On Wed, Sep 16, 2009 at 10:33 PM, Nick Kew wrote: > Tim Legg wrote: >> >> Hello, >> >> I am wanting to clean up my Apache 2.2.9 (Debian Package) installation >> after modifying it to virtual host 7 domains in order to make it more >> robust, understandable, secure and maintainable.  I want to have

Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Krist van Besien
On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli wrote: > Hi all > > I've got this rule > > >  RewriteEngine On >  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >  RewriteRule ^$ http://www.manitese.it/landing [R=301,L] > > > It works nice but i'd like t redirect only the

[us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
Hi all I've got this rule RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] RewriteRule ^$ http://www.manitese.it/landing [R=301,L] It works nice but i'd like t redirect only the www.manitese.it request... not for example the www.manitese.it/?p=123 requests... ho

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

2009-09-16 Thread Rodrigo Aliste P.
2009/9/16 André Warnier > Joseph Morgan wrote: > >> Have you tried "css/style.css"? >> >> +1 > +1 > > In addition, a suggestion : > For this kind of problem, get an add-on (plugin) to your browser, which > shows what is going on. E.g. > for FireFox : HttFox (there are others also) > for IE :

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

2009-09-16 Thread André Warnier
Joseph Morgan wrote: Have you tried "css/style.css"? +1 In addition, a suggestion : For this kind of problem, get an add-on (plugin) to your browser, which shows what is going on. E.g. for FireFox : HttFox (there are others also) for IE : Fiddler2 These tools will show you what your browser

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

2009-09-16 Thread Joseph Morgan
Have you tried "css/style.css"? pch0317 wrote: > Rodrigo Aliste P. wrote: > >> Where are located your css files? And how are you calling them from >> the HTML, pointing to where? >> >> 2009/9/16 pch0317 > >> >> Hello >> I have problem with css styles. >> When I open www page direct

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

2009-09-16 Thread Rodrigo Aliste P.
If you access your website like for example "http://test.com/./css/style.css"; what do you get? (change test.com with your website, host or ip address) 2009/9/16 pch0317 > Rodrigo Aliste P. wrote: > > Where are located your css files? And how are you calling them from > > the HTML, pointing to w

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

2009-09-16 Thread pch0317
Rodrigo Aliste P. wrote: > Where are located your css files? And how are you calling them from > the HTML, pointing to where? > > 2009/9/16 pch0317 mailto:pch0...@gmail.com>> > > Hello > I have problem with css styles. > When I open www page directly from disc everythink look properly.

Re: [us...@httpd] http problem

2009-09-16 Thread Rodrigo Aliste P.
The problem was, finally, X-Cache! I disable it and everythig works fine now. It seems that xcache had problems managing the memory when there was a lot of load. thanks! 2009/9/11 Rodrigo Aliste P. > > > 2009/9/11 Eric Covener > >> On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. >> wrote:

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

2009-09-16 Thread Rodrigo Aliste P.
Where are located your css files? And how are you calling them from the HTML, pointing to where? 2009/9/16 pch0317 > Hello > I have problem with css styles. > When I open www page directly from disc everythink look properly. > But, when I expose this directory with www page via apache 2.2, eleme

[us...@httpd] css styles

2009-09-16 Thread pch0317
Hello I have problem with css styles. When I open www page directly from disc everythink look properly. But, when I expose this directory with www page via apache 2.2, elements wchich depend with css styles look different. Css styles is there like it isn't working. What I should do?

Re: [us...@httpd] ProxyPass gets "stuck" in a VirtualHost

2009-09-16 Thread Kevin J. Woolley
Nick Kew wrote: I have a collection of machines with identical installations of Apache, each with a couple of dozen VirtualHosts. The specific problem I'm facing is that there is one VirtualHost (vhosta) that needs to ProxyPass to another VirtualHost, which I'm doing like this: ProxyPas

Re: [us...@httpd] NameVirtualHost: Questions on proper usage

2009-09-16 Thread Nick Kew
Tim Legg wrote: Hello, I am wanting to clean up my Apache 2.2.9 (Debian Package) installation after modifying it to virtual host 7 domains in order to make it more robust, understandable, secure and maintainable. I want to have one of these sites being a SSL site. - I have read the sec

Re: [us...@httpd] ProxyPass gets "stuck" in a VirtualHost

2009-09-16 Thread Nick Kew
Kevin J. Woolley wrote: Hello folks, I'm running into an odd problem, and I'm just about at the point of RTFS for it, but I'm hoping that someone can lend a hand. I have a collection of machines with identical installations of Apache, each with a couple of dozen VirtualHosts. The specific p

[us...@httpd] ProxyPass gets "stuck" in a VirtualHost

2009-09-16 Thread Kevin J. Woolley
Hello folks, I'm running into an odd problem, and I'm just about at the point of RTFS for it, but I'm hoping that someone can lend a hand. I have a collection of machines with identical installations of Apache, each with a couple of dozen VirtualHosts. The specific problem I'm facing is tha

[us...@httpd] NameVirtualHost: Questions on proper usage

2009-09-16 Thread Tim Legg
Hello, I am wanting to clean up my Apache 2.2.9 (Debian Package) installation after modifying it to virtual host 7 domains in order to make it more robust, understandable, secure and maintainable. I want to have one of these sites being a SSL site. - I have read the section on NameVirtua

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 08:22, Eric Covener wrote: On Wed, Sep 16, 2009 at 10:02 AM, LuKreme wrote: OTOH, _default_ is dangerous, and you have to be sure that it is the LAST directive as it stomps everything that follows it. Whether it comes first or last, it never "covers up" a VirtualHost wit

[us...@httpd] How to read a GET VAR into mod_headers

2009-09-16 Thread David Taveras
Hello, A portion of our users are coming in our sites with a query string get var. I want to read that VAR and convert it to a cookie for permanent use in the future. How do I read a get var and pass it to mod_headers ? Btw, for those of you who wonder why we are not doing this with mod_rewrite

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Bob Ionescu
2009/9/16 Nico De Ranter : > however the 'require' directive doesn't seem to have any effect anymore? You're overriding it with your definition. A location section overrides directives placed in .htaccess files, see http://httpd.apache.org/docs/2.2/sections.html#mergin Bob -

Re: [us...@httpd] Re: Rewrite Rule question

2009-09-16 Thread Jai
Thanks to everyone responded to me. This issue has been fixed by adding "$" symbol on the firest rule. Thanks Bob for your timely help. On Tue, Sep 15, 2009 at 7:43 PM, wrote: > Hi Jai, > > Is there any restriction in number of characters in rewrite rule? > > Could some one help us to resov

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
One more note: I grepped all the apache config files for 'allowoverride': all of them are either 'All' or 'None' (in which case garbage in .htaccess shouldn't result in a server error as it won't be read at all). So I'm sure .htaccess is read and no allowoverride statement keeps me from using 'r

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
Hmm, following the troubleshooting section on http://httpd.apache.org/docs/2.2/howto/htaccess.html I put some garbage in the .htaccess and got a server error. So the .htaccess is read, however the 'require' directive doesn't seem to have any effect anymore? Nico On Wed, 2009-09-16 at 17:10 +020

Re: [us...@httpd] Apache2 header information clear/hide

2009-09-16 Thread Tom Evans
On Wed, 2009-09-16 at 16:40 +0200, Szabolcs Balla wrote: > Hi, > > Is there any way to clear header information when I using ProxyPass > and ProxyPassReverse? > Here is ngreped info: > T xxx.xxx.xxx.xxx:46087 -> xxx.xxx.xxx.xxx:80 [AP] > GET / HTTP/1.1..Host: forwarded.domain..User-Agent: > Mozi

[us...@httpd] Handling Error Codes

2009-09-16 Thread Tanner Bachman
Hi Everyone, This is my first post to this list, so I apologize if this question has already been addressed. I am currently running Apache 2.2.9 on a Windows XP SP3 box (development machine). I have a certain directory that appears in all of my virtual hosts as part of the backend servlet en

[us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Nico De Ranter
Hi, I recently enabled access control on all folders of my apache server by adding the following section: AuthzLDAPAuthoritative off AuthBasicProvider ldap AuthType Basic ... Require valid-user The idea is that I can refine this for every folder by adding some

[us...@httpd] Apache2 header information clear/hide

2009-09-16 Thread Szabolcs Balla
Hi, Is there any way to clear header information when I using ProxyPass and ProxyPassReverse? Here is ngreped info: T xxx.xxx.xxx.xxx:46087 -> xxx.xxx.xxx.xxx:80 [AP] GET / HTTP/1.1..Host: forwarded.domain..User-Agent: Mozilla/5.0 ..Accept-Language: en-us..Accept-Encoding: gzip, deflate..Authori

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Eric Covener
On Wed, Sep 16, 2009 at 10:02 AM, LuKreme wrote: > OTOH, _default_ is dangerous, and you have to be sure that it is the LAST > directive as it stomps everything that follows it. Whether it comes first or last, it never "covers up" a VirtualHost with a specific (and matching) IP address. -- Er

[us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread LuKreme
On 16-Sep-2009, at 07:17, Geurts, G.P.T.M. wrote: Hello, Thanks for your reply! I don't think it whould work for us we use ip based virtual hosting so a virtualhost directive looks like What does the __default__ directive do anyways? _default_ is useful. Say you have 20 IPs on a single

RE: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Geurts, G.P.T.M.
Hello, Thanks for your reply! I don't think it whould work for us we use ip based virtual hosting so a virtualhost directive looks like What does the __default__ directive do anyways? Greetings, Geert From: Igor Cicimov [mailto:icici...@gmail.com] Sent: w

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Eric Covener
On Wed, Sep 16, 2009 at 9:12 AM, Igor Cicimov wrote: > What about defining the default VH by using the _default_ expression. Like > this > > > ServerName > ServerAlias > . > . > . > That doesn't make this particular virtualhost the default virtual host for a set of name-based virtual hosts.

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Igor Cicimov
What about defining the default VH by using the _default_ expression. Like this ServerName ServerAlias . . . On Wed, Sep 16, 2009 at 7:26 PM, Jan G.B. wrote: > > > 2009/9/15 LuKreme > >> On 15-Sep-2009, at 09:34, Jan G.B. wrote: >> >>> 2009/9/15 LuKreme >>> I always put my default Vi

[us...@httpd] vhost based syslog logging

2009-09-16 Thread Geurts, G.P.T.M.
Hello list. I'm configuring syslog for our servers. One of them is a apache webserver. We've decided to log as much as possible via syslog. For apache the ErrorLog can go directly to syslog and for CustumLogs I use a small perl script, logger.pl, that listens for input and logs it to syslog. Thi

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Jan G.B.
2009/9/15 LuKreme > On 15-Sep-2009, at 09:34, Jan G.B. wrote: > >> 2009/9/15 LuKreme >> >>> I always put my default VirtualHost directly into the httpd.conf file, >>> just >>> before the Include line. >>> >>> > I'd say this way it's always unclear which is the default vhost. As you >> have to d