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
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 rul
On Thu, Sep 24, 2009 at 8:52 AM, John Martin 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
> domain, so I have mad
On Thu, Sep 24, 2009 at 8:43 AM, james cauwelier
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 not found
> RewriteCond
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:
AuthBasicProvider ldap
AuthType basic
AuthLDAPURL "ldap://ldapserver.com:389/o=domain.com?mail";
AuthzLDAPAuthoritative on
AuthName
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:
>
>
> AuthBasicProvider ldap
> AuthType basic
> AuthLDAPURL "ldap://ldapser
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.
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 s
* Alan AZZERA [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 appreciate very much
> 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
> 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
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 http://httpd.apache.org/us
* azzera.alan [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 saying ? No idea...
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.
Ha
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, t
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
> 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
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/) {
$Pa
> 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
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
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 sense
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
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
Vi
>
> 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.
>
> Do
Thanks Nick,
But this is a solution I already thought off, except in PHP. Anyway,
I think it is cleaner to put this kind of things in .htaccess,
especially when a client needs about 6 different domain for one
particular front controller.
But thanks for the input.
James
2009/9/24 :
> Hi James
25 matches
Mail list logo