Norman Peelman | 1 Sep 2007 04:36
Picon

Re: Apache 2.2.4 [an error occurred while processing this directive]

Malcolm Walker wrote:
> Vincent,
>
> >so presumably you're using a URL like 
> http://localhost/mcjdreamweaver/ to access your site
> Yes you are correct and I am very grateful for your reply but I find I 
> am out of my depth.  I had read (several times both before my post and 
> after your reply) the article on configuring Virtual Hosts and I 
> remain unaware of how to amend the file at 
> conf/extra/httpd-vhosts.conf to suit local access only.  As to the 
> <Directory blocks I take your point but I cannot determine which of 
> the directives to use.
>
> My sole aim was in using Apache for testing to add the display of 
> includes.  As I have been struggling with a problem that I never 
> expected for over a week it's time I gave it a rest.
>
> My general comment on all the Apache help articles both on-line and in 
> the manual is that they clearly state what to do but not how to do 
> it.  There is a presumption of knowledge that I do not have.  I bought 
> my first computer at the age of 62 on the basis I would catch up - 
> eventually.  Thirteen years later it seems I am even further behind 
> than I was then!
>
> Many thanks for your effort to assist me.  I do appreciate it very 
> much indeed.
>
> Malcolm
>
> Vincent Bray wrote:
(Continue reading)

Matus UHLAR - fantomas | 1 Sep 2007 13:34
Picon
Favicon

Re: Authentication prompts multiple times for login

On 13.08.07 11:05, Joe Seeley wrote:
> I am trying to use Apache LDAP authentication and proxying to make sure
> users exist in our LDAP repository.  This is working, but the user is always
> prompted to login multiple times.  In Firefox the users are prompted twice
> for their login; in IE the users are prompted three times for their login.

> ProxyRequests Off
> ProxyPass / http://localhost:5000/
> ProxyPassReverse / http://localhost:5000
> ProxyHTMLURLMap http://localhost:5000 http://1.2.3.4
> ProxyHTMLURLMap http://localhost:5000 http://1.2.3.5
> 
> <Location />
>   ProxyPassReverse http://localhost:5000
>   SetOutputFilter proxy-html
>   ProxyHTMLURLMap /     /
>   AuthLDAPEnabled on
>   AuthLDAPAuthoritative on
>   AuthLDAPURL
> "ladp://myserver:3268/DC=FOO,DC=BAR,DC=COM?sAMAccountName?sub?"
>   AuthLDAPBindDN 'ldapuser <at> foo.bar.com"
>   AuthLDAPBindPassword "password"
>   AuthType Basic
>   AuthName "Login in using your domain login."
>   require valid-user
> </Location>
> 
> If you see a mistake in my conf file, or understand why this is prompting
> for multiple logins I would appreciate any advice.

(Continue reading)

Matus UHLAR - fantomas | 1 Sep 2007 13:41
Picon
Favicon

Re: Redirect Permanent Help

On 13.08.07 12:58, Nathan wrote:
> We need to 301 redirect all traffic bound for www.foo.com to foo.com.
> foo.com is set up as an IP based resource and www.foo.com is not 
> mentioned  in vhosts.
> 
> both www.foo.com and foo.com DNS is set to the same ip.
> 
> We added a section to vhosts like :
> 
> <VirtualHost *:80>
> 
>     DocumentRoot c:/pubrec/htdocs
>     ServerName www.foo.com
>     ErrorLog c:/pubrec/logs/error_log
>     CustomLog c:/pubrec/logs/access_log combined
>     ErrorDocument 404 /404.htm	
> 
> RedirectPermanent /  http://foo.com/
> </VirtualHost>

all directives except ServerName and RedirectPermanent are useless here.

> This seems to work fine for www.foo.com but not for www.foo.com/somepage.htm

Interesting, it should work... did you clean your browser's cache before
retrying?

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
(Continue reading)

Matus UHLAR - fantomas | 1 Sep 2007 14:03
Picon
Favicon

Re: Some problems with Virtual Host setup and SSL

On 19.08.07 10:39, via.lej <at> free.fr wrote:
> Thanks, so, i give up my system...The easiest way to do what i want is to
> use:
> 
> 1)VirtualHost1 without SSL (http://my.server/)
> 2)Virtualhost2 with SSL (http://admin.server/ with redirection to https://admin.server/)

http://admin.server/ is virtualhost without ssl. you probably want to have
this virtualhost without ssl, only redirecting to another virtual host WITH
ssl, which is https://admin.server/

> 3)A way to redirect webpages from https://localhost:3000/ to
> https://admin.server/ntop/

ehm? You mean that https://admin.server/ntop/ should be proxied to
https://localhost:3000/, so there will e one SSL tunnel between client and
apache, and another SSL tunnel betwrrn apache and ntop on localhost?
I think apache can't do the latter. However if you could force ntop to run
on localhost without ssl (which is useless there), it could be done.
--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
(Continue reading)

Matus UHLAR - fantomas | 1 Sep 2007 14:55
Picon
Favicon

Re: How can I add mod_proxy.so ????

Hello,

please wrap your lines to be max 80 characters long (72 to 75 is best len)

On 19.08.07 23:05, Galaxy Virus wrote:
> At last, I installed apache2.2.0 using ports on FreeBSD release 6.1.  I
> found apache22.sh in /rc.d.  but not htcacheclean.sh.
> 
> So I added 'LoadModule proxy_module libexec/apache22/mod_proxy.so'  in
> httpd.conf.
> 
> But when I start httpd, I got this error. httpd: 
> 
> Syntax error on line 76 of /usr/local/etc/apache22/httpd.conf: Cannot load
> /usr/local/libexec/apache22/mod_proxy.so into server: Cannot open
> "/usr/local/libexec/apache22/mod_proxy.so"
> 
> I checked mod_proxy in /libexec/apache22 directory but I found no proxy
> module file there.
> 
> How can I add   mod_proxy.so ????  

the best would be recompile apache with all modules enabled. You don't have
to load them all, but it will be good to have them - you may need them once.

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average. 
(Continue reading)

Matus UHLAR - fantomas | 1 Sep 2007 14:58
Picon
Favicon

Re: Conditional Logging for HTTP Status Codes

> On 8/20/07, Vincent Bray <noodlet <at> gmail.com> wrote:
> > And further, it's probably not worth it to do so as you can just
> > filter the logs during processing, or during the logging by using a
> > piped logger.

On 21.08.07 11:02, Brian Munroe wrote:
> That is the solution I am looking into.  Thanks for the confirmation.

what's the point? 304 is understood as a hit, the same as 200, but the
content is not resent to client, because client already has it.

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Matus UHLAR - fantomas | 1 Sep 2007 15:14
Picon
Favicon

Re: Apache is slow with SSL

> On 8/22/07, Lavoie,Alain [CMC] <Alain.Lavoie <at> ec.gc.ca> wrote:
> > When I request any pages on the regular site (port 80), the answer is
> > fast. However, when I do a request on the
> > SSL site, it's taking an average of 30sec to display the page. When I do
> > a tcpdump I can see an increase
> > of sync/ack, push traffics.

On 22.08.07 11:13, Joshua Slive wrote:
> More network exchanges with ssl would be perfectly normal, since the
> SSL layer needs to be setup before the HTTP transaction happens. But
> 30 seconds is absurdly long. The first place I would look is random
> number generation. Perhaps you need to check the setting of
> SSLRandomSeed.

maybe reading seed from /dev/urandom instead of /dev/random would help here.

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

(Continue reading)

Vincent Bray | 1 Sep 2007 17:08
Picon
Gravatar

Re: Apache 2.2.4 [an error occurred while processing this directive]

On 01/09/07, Malcolm Walker <malcolm <at> mewalker.co.uk> wrote:
> Yes you are correct and I am very grateful for your reply but I find I
> am out of my depth.  I had read (several times both before my post and
> after your reply) the article on configuring Virtual Hosts and I remain
> unaware of how to amend the file at conf/extra/httpd-vhosts.conf to suit
> local access only.  As to the <Directory blocks I take your point but I
> cannot determine which of the directives to use.
>
> My sole aim was in using Apache for testing to add the display of
> includes.  As I have been struggling with a problem that I never
> expected for over a week it's time I gave it a rest.
>
> My general comment on all the Apache help articles both on-line and in
> the manual is that they clearly state what to do but not how to do it.
> There is a presumption of knowledge that I do not have.  I bought my
> first computer at the age of 62 on the basis I would catch up -
> eventually.  Thirteen years later it seems I am even further behind than
> I was then!

Please forgive the jibe, but it's perhaps suitable that you're trying
to configure server side includes.. A technology nearly as old as
yourself :-)

Explaining how vhosts work is a time consuming process, and I think
the docs would do a better job, so instead, let's try a direct answer.
Stick this at the bottom of your httpd.conf and see what happens.

NameVirtualHost *:80

<VirtualHost *:80>
(Continue reading)

Brian Munroe | 1 Sep 2007 17:28
Picon

Re: Conditional Logging for HTTP Status Codes

On 9/1/07, Matus UHLAR - fantomas <uhlar <at> fantomas.sk> wrote:

>
> what's the point? 304 is understood as a hit, the same as 200, but the
> content is not resent to client, because client already has it.
>

Just trying to reduce the size of access.logs.  It isn't a big deal,
but I just thought that it was weird that Apache didn't provide the
ability to filter on status code, and thought maybe I was reading the
documentation wrong.

-- brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

jbeall | 2 Sep 2007 03:29
Picon

Disabling basic authen tication for only one directory -- possible?


Hi All,

I have a site that uses basic authentication (set in a .htaccess file in the
root of the site).

There is one folder for which I would like to disable basic authentication
(it will be available to the public).

Is there a way to disable basic authentication in only that one directory? 
I tried an htaccess files with "AuthType None", but that didn't work.

  -Josh
--

-- 
View this message in context: http://www.nabble.com/Disabling-basic-authen-tication-for-only-one-directory----possible--tf4366355.html#a12445579
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org


Gmane