Browser-Cache, dynamische Seiten, stabile Javascriptdateien und HEAD-Requests

2009-09-24 Thread Manfred Rebentisch
Hallo, gibt es eine Konfiguration, sei es für Apache oder in den Response-Http-Headern, mit der ich das Caching im Browser beeinflußen kann? Ich habe mit den Headern Cache-Control: no-cache, must revalidate Pragma: no-cache angeben, dass der Browser nicht cachen soll. Das ging früher ganz

Re: Browser-Cache, dynamische Seiten, stabile Javascriptdateien und HEAD-Requests

2009-09-24 Thread Manfred Rebentisch
Noch eine Ergänzung Am Thursday 24 September 2009 21:53:17 schrieb Manfred Rebentisch: Hallo, gibt es eine Konfiguration, sei es für Apache oder in den Response-Http-Headern, mit der ich das Caching im Browser beeinflußen kann? Ich habe mit den Headern Cache-Control: no-cache, must

Re: mod_deflate richtig einsetzen

2009-09-24 Thread Mario Brandt
Hallo Manfred, was spricht denn gegen mod_deflate? Es spart Übertragungszeit und Traffic und somit auch Kosten. Die Rechenzeit für die Indianer ist minimal. Du könntest an Stelle von SetOutputFilter DEFLATE auhc nur bestimmte Datei Typen komprimieren lassen und so mit javascript Dateien

Re: Browser-Cache, dynamische Seiten, stabile Javascriptdateien und HEAD-Requests

2009-09-24 Thread Mario Brandt
Hallo Manfred, apache + mod_deflate in Kombination mit statischen Dateien die oft angefragt werden (css / js ) kann aber auch nach hinten losgehen, aufgrund eines Bugs funktioniert nämlich dann das Conditional Get ( https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 ) nicht richtig. Fragt

[us...@httpd] htaccess serving different domain with different front controllers

2009-09-24 Thread james cauwelier
Hi All, I am developing a website which has different front controllers: - web/index.php for the main website - web/sioen.php for a copy of the website with different looks I don 't seem to be able to redirect the correct host to the correct controller and I am hoping that somebody can help

[us...@httpd] Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

2009-09-24 Thread John Martin
I'd like to add a domain to httpd.conf manually, because it shares a DocumentRoot with an already existing account. I recently moved servers, and the old server had Apache 1.3. Using an Include, I added this to httpd.conf: VirtualHost 100.100.100.100:80 ServerAlias domain.com *.domain.com

[us...@httpd] Rewritecond and Rewriterules in httpd.conf

2009-09-24 Thread J. Bakshi
Hello list, I have spent half of the day but no success. apache gurus can help me out. The Rewriterules are working well in my .htaccess file. As I have multiple virtual hosts I like to place the common rules in httpd.conf to get a performance bonus. Here are the rules I have in .htaccess

Re: [us...@httpd] [SOLVED] Rewritecond and Rewriterules in httpd.conf

2009-09-24 Thread J. Bakshi
J. Bakshi wrote: Hello list, I have spent half of the day but no success. apache gurus can help me out. The Rewriterules are working well in my .htaccess file. As I have multiple virtual hosts I like to place the common rules in httpd.conf to get a performance bonus. Here are the rules I

Re: [us...@httpd] Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

2009-09-24 Thread Krist van Besien
On Thu, Sep 24, 2009 at 8:52 AM, John Martin giantsfan2...@gmail.com wrote: I'd like to add a domain to httpd.conf manually, because it shares a DocumentRoot with an already existing account. Manually, as opposed to what? However after restarting httpd, I get a 403 Forbidden page for the

Re: [us...@httpd] htaccess serving different domain with different front controllers

2009-09-24 Thread Krist van Besien
On Thu, Sep 24, 2009 at 8:43 AM, james cauwelier james.cauwel...@gmail.com wrote: Here is my .htaccess (I deleted unimportant parts from my colleague), I suspect the line with [S=1] is to blame: Yes, it is. [S=1] is only valid for a RewriteRule, not a RewriteCond. # redirect only when file

[us...@httpd] Apache 2.2 + Ldap

2009-09-24 Thread Luis Clemente
Hi all, Someone knows how I can setting the apache 2.2. server to authenticated in a Ldap server? Here is my httpd.conf Ldap configuration: Directory /var/www/html AuthBasicProvider ldap AuthType basic AuthLDAPURL ldap://ldapserver.com:389/o=domain.com?mail;

Re: [us...@httpd] Apache 2.2 + Ldap

2009-09-24 Thread Tom Evans
On Thu, 2009-09-24 at 05:55 -0700, Luis Clemente wrote: Hi all, Someone knows how I can setting the apache 2.2. server to authenticated in a Ldap server? Here is my httpd.conf Ldap configuration: Directory /var/www/html AuthBasicProvider ldap AuthType basic AuthLDAPURL

[us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread Alan AZZERA
Hello. I have a Virtual Host just used to do reverse-proxyfication, with many rules in it. I would want to put a basic authentication banner against a LDAP server for this very VirtualHost. I'm stuck attempting to achieve this aim. I would appreciate very much any clue. Many thanks in advance.

Re: [us...@httpd] Re: Apace2 stops serving pages.

2009-09-24 Thread Middle Fork GIS
Argh it happened again overnite. I checked in first thing this morning and Apache had been hung for 8 bleeding hours. Zero pages served in all that time. Postgresql did not seem to be at fault. my query against it worked fine. Also, all of my queries are SELECT, so they are non-exclusive and

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread Peter Schober
* Alan AZZERA azzera.a...@gmail.com [2009-09-24 15:21]: I have a Virtual Host just used to do reverse-proxyfication, with many rules in it. I would want to put a basic authentication banner against a LDAP server for this very VirtualHost. I'm stuck attempting to achieve this aim. I would

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread Alan AZZERA
Describe which part of the documentation you have read and what is unclear. Describe error messages or other ways you failed. I've read various tutos on the net. I also read the official doc (http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html). I got no error, or I do'n't know where to

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread azzera.alan
Describe which part of the documentation you have read and what is unclear. Describe error messages or other ways you failed. I've read various tutos on the net. I also read the official doc (http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html). I got no error, or I do'n't know where to

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread azzera.alan
Sorry for multi-posting. Gmail said it couldn't send my message, I send it again before thinking to verify if it was so... - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread Peter Schober
* azzera.alan azzera.a...@gmail.com [2009-09-24 16:55]: Anyway, I'm now just trying to authenticate on a single directory. Here is the relevant part of my config file : [...] When connecting to the url, nothing happens. I checked with tcpdump, servers are talking to each other. What are they

Re: [us...@httpd] httpd.conf syntax

2009-09-24 Thread Rich Bowen
RewriteRule ^.* - [F,L] ` Now in httpd.conf I have added the file as ` Include /etc/apache2/blacklist.conf ` Restarted the apache and no error message. BUT wget is successful. It was not successful when the configuration was in .htaccess.

[us...@httpd] Change mod_expires options for an especific IP

2009-09-24 Thread Fábio Jr.
Hello, I was wondering if there is a way to have a different mod_expires config for an especific IP. Example: I have a directive that says that html files will expire 30 minutes after the access for all: ExpiresByType text/html access plus 30 minutes I want that for the IP 10.0.0.1,

Re: [us...@httpd] htaccess serving different domain with different front controllers

2009-09-24 Thread James Cauwelier
Thanks. With your explanation, I am sure I 'll get the rules working as I want them to. James (PS: ik weet niet wat je bedoeld met Sioen, dus kan ik je daar niet echt een antwoord op geven. ) On Sep 24, 2009, at 1:06 PM, Krist van Besien wrote: vanbesien.org

Re: [us...@httpd] Reverse proxy with LDAP authentication ?

2009-09-24 Thread Alan AZZERA
So what happend to the proxy? You're securing a directory... Well, I decided to check things step by step. It was rather a good idea, since even authenticate a single directory does not work ! Other than that I'd make sure an openldap command line client (e.g. ldapsearch binding with the DN

[us...@httpd] Re: htaccess serving different domain with different front controllers

2009-09-24 Thread Nick
Hi James, - web/index.php for the main website - web/sioen.php for a copy of the website with different looks An alternative: ( I'd use perl to do this ) index.cgi (or index.pl) $lowerCase = lc($ENV{'HTTP_HOST'}); if ($lowerCase =~ /sioen/) {

Re: [us...@httpd] Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

2009-09-24 Thread John Martin
Let's try to solve your problem... What is the output of the following command? httpd -S What is in your error log? Do you have the correct NameVirtualHost statement somewhere? Krist Thank you for the suggestions - I hadn't checked the Apache error log, and in that log I found the

[us...@httpd] IndexIgnore

2009-09-24 Thread LuKreme
I have an htaccess file with a directive IndexIgnore head.html foot.html .. Which prevents the Parent Directory from showing up in the directory listing. Now, I want to show the Parent Directory in the directories under this one, but there doesn't seem to be an IndexUnignore directive or

[us...@httpd] SSI + content-length headers

2009-09-24 Thread Rajwinder-office Singh
I have a situation : 1. I have to keep SSI enabled on all *.html pages. 2. SSI removes content-length + Last-modified headers from *.html 3. I have to keep these two headers for it to be cached by my CDN provider. 4. No fun of using XbiHack cause every other html is having ssi. Does it make

Re: [us...@httpd] TCP Connections per hostname?

2009-09-24 Thread raulmt
No, maybe I didn't explained it very well. Second try: Apache as a loadbalancer in my case, receives requests on one IP but with many different hostnames (like a hosting company who hosts many domains on one server). I did a stress test with JMeter to see how many concurrent users my application

[us...@httpd] mod_dav write performance problems on Windows

2009-09-24 Thread Curt Krone
I'm looking into using mod_dav for file upload on both Windows and Linux servers. Configuration has been straightforward, but I'm seeing some strange performance discrepancies for writes between Linux and Windows. I'm running Apache 2.2.11, and have seen this behavior on both Windows XP and

[us...@httpd] Re: SSI + content-length headers

2009-09-24 Thread Rajwinder-office Singh
I have a situation : 1. I have to keep SSI enabled on all *.html pages. 2. SSI removes content-length + Last-modified headers from *.html 3. I have to keep these two headers for it to be cached by my CDN provider. 4. No fun of using XbiHack cause every other html is having ssi. Does it