Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > You need to check /home, /home/user, /home/user/test, etc. All the > > directories in the path must be searchable. > > I have the .htpasswd file in this directory: > /passwords > > Permissions: > drwxr-xr-x2 apache apache 4096 Aug 19

Re: [EMAIL PROTECTED] Un-password protecting a sub-directory

2005-08-19 Thread Joshua Slive
On 8/19/05, Hank <[EMAIL PROTECTED]> wrote: > > Satisfy Any > > Allow from all > > That works great.. thanks. > > > but this will also destroy any host-based access restrictions. > > But only for that subdirectory, right? And its subdirectories. > If I want it to be open while > higher up dir

Re: [EMAIL PROTECTED] Un-password protecting a sub-directory

2005-08-19 Thread Hank
> Satisfy Any > Allow from all That works great.. thanks. > but this will also destroy any host-based access restrictions. But only for that subdirectory, right? If I want it to be open while higher up dirs are closed, what are the risks? What would be some other "host-based access restriction

[EMAIL PROTECTED] pretty simple mod-rewrite question

2005-08-19 Thread Hank
I have a rewrite working well so for one virtual domain: Convert: http://www.AAsite.com/pf_dir/index.html To: http://www.AAsite.info/AAforums/pf_dir/index.html RewriteEngine on RewriteRule ^/pf(.*)$http://www.AAsite.info/AAforums/pf$1 [L] What I'd like to do is enhance it s

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
> You need to check /home, /home/user, /home/user/test, etc. All the > directories in the path must be searchable. I have the .htpasswd file in this directory: /passwords Permissions: drwxr-xr-x2 apache apache 4096 Aug 19 12:02 passwords Permissions of the file: -rwxr-xr-x 1 apache apach

Re: [EMAIL PROTECTED] Un-password protecting a sub-directory

2005-08-19 Thread Joshua Slive
On 8/19/05, Hank <[EMAIL PROTECTED]> wrote: > I have a docroot site password protected in the usual manner in > httpd.conf section of the virtual domain: > > AuthUserFile /home/site/public/.htpasswd > AuthName "What's the Secret Word?" > AuthType Basic > require valid-user > > How can I un-protec

Re: [EMAIL PROTECTED] Premature end of script headers

2005-08-19 Thread Joshua Slive
On 8/19/05, Gonzales, Youn <[EMAIL PROTECTED]> wrote: > I am running Apache 2.0.54 on Fedora (2.6.12-1.1398_FC4) and just > installed Big Sister. > > I created a ScriptAlias directory called /bigsis/cgi/ with exactly the > same options as the existing cgi-bin directory, but when I place a perl > s

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > > > > > require valid-user > > > > > > > DON'T USE ! > > Ok. Changed it to just be > Require valid-user > > > Check the permissions on all parent directories to make sure they are

[EMAIL PROTECTED] Un-password protecting a sub-directory

2005-08-19 Thread Hank
I have a docroot site password protected in the usual manner in httpd.conf section of the virtual domain: AuthUserFile /home/site/public/.htpasswd AuthName "What's the Secret Word?" AuthType Basic require valid-user How can I un-protect a subdirectory of that site? I've tried dozens of combinati

[EMAIL PROTECTED] Premature end of script headers

2005-08-19 Thread Gonzales, Youn
I am running Apache 2.0.54 on Fedora (2.6.12-1.1398_FC4) and just installed Big Sister. I created a ScriptAlias directory called /bigsis/cgi/ with exactly the same options as the existing cgi-bin directory, but when I place a perl script in that directory it will not run. The errors in the httpd e

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
>> >> >>I check it out. It's just adding another layer of complication. I >>tried to use it and it told me "you do not have any GPG public keys >>installed". So this is not a viable option. > > > it also says that you can import the key using rpm --import blablabla, > or just add gpgcheck=1 to

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
Sean Gonsman wrote: >> php is not a module from apache source. >> is another software. > > > I know. I have been a web developer for over 8 years, just not much > server config. > >> I insist. As you are a newbie , you should install using yum. > > > I check it out. It's just adding another

[EMAIL PROTECTED] mod_auth_ldap

2005-08-19 Thread Andrew Musselman
I have read that mod_auth_ldap comes "out of the box" in Apache 2.0 and up, but I'm not sure how to enable it. Is it as simple as adding something like this to httpd.conf: LoadModule ldap_auth_module libexec/apache2/mod_auth_ldap.so Or are there other steps? I don't see it in the FreeBSD ports t

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
php is not a module from apache source. is another software. I know. I have been a web developer for over 8 years, just not much server config. I insist. As you are a newbie , you should install using yum. I check it out. It's just adding another layer of complication. I tried to use i

[EMAIL PROTECTED] Re: Windows Apache Monitor & SSL

2005-08-19 Thread Joost de Heer
> I have apache running on my Windows 2000 Machine with SSL. Runs OK, > but in order to start apache with SSL I must start it up in a dos > window. Remove all 'IfDefine SSL' things in your httpd.conf, and the thing should use SSL automagically. If you don't want this, and have Apache as service,

[EMAIL PROTECTED] Re: Apache Log Attack

2005-08-19 Thread Joost de Heer
> 20050819-10-access.log:aaa.bbb.ccc.ddd www.mydomain.com - > [19/Aug/2005:10:44:20 -0400] > "\xa4Y~5\xcf2\"\xf4\xcc\xcf\xd3\x90-H\xd3\x8f > u\xe6\xd9\x1d*\xe5\xc0\xf7+x\x81\x87D\x0e_P" 302 123 "-" "-" Doesn't look like a log attack to me, but

RE: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
> On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > > > require valid-user > > > > DON'T USE ! Ok. Changed it to just be Require valid-user > Check the permissions on all parent directories to make sure they are > at least searchable (chmod +x) by the web server. I created a new direc

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Spike Burkhardt
Jody, Check to make sure that the username which apache is running under has read access for the /home, /home/cleveland & /home/cleveland/password directories. If you're apache is running as 'nobody' then you'll probably need 744 on the directory files themselves. The other possibility is

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
Sean Gonsman wrote: >> That will install all the rpm's you need. >> If you want to compile, you should also compile the modules with >> --enable-mods-shared= (a comma separated list) > > > I did this and still no modules were installed. Do I have to unistall > first? > > ./configure --prefix=/e

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
That will install all the rpm's you need. If you want to compile, you should also compile the modules with --enable-mods-shared= (a comma separated list) I did this and still no modules were installed. Do I have to unistall first? ./configure --prefix=/etc/httpd --enable-module=so --enable-h

Re: [EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Joshua Slive
On 8/19/05, Jody Cleveland <[EMAIL PROTECTED]> wrote: > > require valid-user > DON'T USE ! See the docs on this directive for why. > I created a .htpasswd file in the directory /home/cleveland/passwords > with this as permissions: > -rwxr--r-- 1 cleveland apache 24 Aug 19 11:27 .htpassw

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
> Well, you didn't told him about any modules but "so", so he didn't installed any. Now, php is a module on his own, so you should install php. See on www.php.org. Are you saying that I have to re-install PHP now? I can't install apache with the module and be fine. If so, what about perl, m

[EMAIL PROTECTED] .htpasswd permissions problem?

2005-08-19 Thread Jody Cleveland
Hello, I've got a site I'm trying to protect with a .htaccess file. In the .htaccess file, I've got this: AuthUserFile /home/cleveland/passwords/.htpasswd AuthGroupFile /dev/null AuthName "phpMyAdmin for Mystique" AuthType Basic require valid-user With this as permissions: -rwxr--r-- 1 clev

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Axel-Stéphane SMORGRAV
Since the original suggestion was RewriteCond %{REQUEST_URI} !^.*abbey(.*) I think this is what was desired... and btw the () was unnecessary for since it was never referenced. -ascs -Original Message- From: Noah [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 2005 5:09 PM To: us

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Davide Bianchi
Sean Gonsman wrote: > ./configure --prefix=/etc/httpd --enable-module=so --enable-ssl > --enable-http --with-layout=RedHat Well, you didn't told him about any modules but "so", so he didn't installed any. Now, php is a module on his own, so you should install php. See on www.php.org. MySQL... if

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
Sean Gonsman wrote: > OK, so I can't change Fedora and it seems to be working fine outside of > this problem. I unistalled the RPM of apache and reinstalled from > source. Apache will start, but there are no modules to speak of. Where > are they located? It looks like they were not installed.

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Davide Bianchi
Sean Gonsman wrote: > Starting httpd: Syntax error on line 6 of > /etc/httpd/conf.d/auth_mysql.conf: If you do not use mysql for authentication, remove (or rename) /etc/httpd/conf.d/auth_mysql.conf and it should be ok. >> Fedora? On a SERVER? > Is this wrong? It seems like most servers come wit

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
OK, so I can't change Fedora and it seems to be working fine outside of this problem. I unistalled the RPM of apache and reinstalled from source. Apache will start, but there are no modules to speak of. Where are they located? It looks like they were not installed. This was my configure sc

[EMAIL PROTECTED] Apache Log Attack

2005-08-19 Thread John
specific. Any help would be greatly appreciated, we are getting slammed by these hits. Their IP has been changed to aaa.bbb.ccc.ddd and my domain has been changed to www.mydomain.com. 20050819-10-access.log:aaa.bbb.ccc.ddd www.mydomain.com - [19/Aug/2005:10:44:20 -0400] "\xa4Y~5\xcf2\"\xf4\x

Re: [EMAIL PROTECTED] Windows Apache Monitor & SSL

2005-08-19 Thread William A. Rowe, Jr.
apache -n servicename -k config -D SSL -d c:/serverrootdir Steven Pannell wrote: Hi, I have apache running on my Windows 2000 Machine with SSL. Runs OK, but in order to start apache with SSL I must start it up in a dos window. Is there any way to configure the nice Apache Service Monitor th

[EMAIL PROTECTED] Windows Apache Monitor & SSL

2005-08-19 Thread Steven Pannell
Hi, I have apache running on my Windows 2000 Machine with SSL. Runs OK, but in order to start apache with SSL I must start it up in a dos window. Is there any way to configure the nice Apache Service Monitor that comes with the windows dist. to start apache with SSL. thanks! STeve ---

Re: [EMAIL PROTECTED] [SPAM] Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
Andrew Musselman wrote: > Bruce, I'm sure you meant that FreeBSD is the proper system to use on a > server :) > No... are you crazy ??? you MUST use Microsoft@ Windows on EVERY server system.. or else, your system could be unstable.. PD: Ehmmm... yeah, im kidding... it's friday and i'm tired

[EMAIL PROTECTED] [SPAM] Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Andrew Musselman
Bruce, I'm sure you meant that FreeBSD is the proper system to use on a server :) Andrew Andrew Musselman [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 8/19/2005 8:09 AM >>> [EMAIL PROTECTED] wrote: > Fedora is nothing more than a sanctioned carry-forth of former Redhat > development. There is no decl

Re: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Noah
On Fri, Aug 19, 2005 at 11:24:49AM +0200, Axel-St?phane SMORGRAV wrote: > Uh Uh. Forgot to add the abbey stuff: > > RewriteLog /var/www/epp/logs/epp.rewrite.log > RewriteLogLevel 9 > RewriteEngine on > > RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ > RewriteCond %{REQUEST

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
[EMAIL PROTECTED] wrote: > Fedora is nothing more than a sanctioned carry-forth of former Redhat > development. There is no declaration on what platform it has to be used. > Let us not forget that it is nothing more than a linux distribution. > Personally I do not care for the RH Enterprise stuff,

RE: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread PMilanese
Fedora is nothing more than a sanctioned carry-forth of former Redhat development. There is no declaration on what platform it has to be used. Let us not forget that it is nothing more than a linux distribution. Personally I do not care for the RH Enterprise stuff, and I am certain that others have

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Ivan Barrera A.
>> in apache that are tied into MySQL. >> >> Now explain CORRECTLY what you mean when you say "does not work". > > > Starting httpd: Syntax error on line 6 of > /etc/httpd/conf.d/auth_mysql.conf: > Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: > libmysqlclient.so.10: cannot open s

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
/usr/sbin/httpd -V will tell you the configuration parameters used during compilation. Too late, files have been overwritten now (this always happens to me!) Get the sources, cd into it, use ./configure --with-layout=RedHat, this should give you the default you're looking for. Be aware that an

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Davide Bianchi
Sean Gonsman wrote: > 1.) Is there a way to get the original configure command from an install > of the fedora core 3 CD? /usr/sbin/httpd -V will tell you the configuration parameters used during compilation. > 2.) If not, what do I need to do to recompile apache (I already read the > install do

RE: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-19 Thread Axel-Stéphane SMORGRAV
Man, mod_rewrite is the best thing that has happened to the world since sliced bread ! Don't know what I would have done without. If it's impossible to do, just do it with mod_rewrite. -ascs < Tony VanScoy wrote: > I can't say it enough, but mod_rewrite really helped me with the older IE brow

Re: [EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
Sorry, I know...it's config.nice (I'm on about 4 hours sleep/night). -Sean Sean Gonsman wrote: Hi, My questions upfront: 1.) Is there a way to get the original configure command from an install of the fedora core 3 CD? 2.) If not, what do I need to do to recompile apache (I already read t

[EMAIL PROTECTED] Recompliing Apache, no config.smile found

2005-08-19 Thread Sean Gonsman
Hi, My questions upfront: 1.) Is there a way to get the original configure command from an install of the fedora core 3 CD? 2.) If not, what do I need to do to recompile apache (I already read the install docs and they don't work)? I am a beginner. I upgrading mysql 3.23 to 4.1. Now, apac

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-19 Thread Tony VanScoy
Well I added set my flags back to [R,L]. I didn't have any other rewrite rules that would have matched, but it's the right thing to do. I left the [T=application/pdf] because it wouldn't be used since it's an external redirect. However, I compensated for this with a Location/Header config ...

RE: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-19 Thread Axel-Stéphane SMORGRAV
I checked the code and the doc, and you are perfectly right. The L is required - at least it would be a good idea to include it systematically unless you really want additional rewriting to take place. I guess I have never been in a situation where subsequent rewrite rules have matched the redir

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Axel-Stéphane SMORGRAV
What version of Apache are you running? Try adding DirectoryIndex index.html to your configuration and restart the server. If you get an error, you do not have mod_dir loaded. You can also check your LoadModule directives for one loading mod_dir, or do httpd -l to see if it is statically linke

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-19 Thread Brian Candler
On Thu, Aug 18, 2005 at 04:06:51PM +0200, Axel-Stphane SMORGRAV wrote: > As an aside, the [L] ( as in [R,L] ) is not necessary either since if the > rewrite rule condition triggers, the redirect will be immediate and no > more rewrite rules will be evaluated. Warning: what you have written there

Re: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Nick Gushlow
First off thanks for your help, I clicked reply not reply all before so I wanted to say thanks publicly so I don't look too ungrateful. :-) On Fri, 2005-08-19 at 10:57 +0200, Krist van Besien wrote: > > > > RewriteCond %{REQUEST_URI} !^.*abbey(.*) > > A better way to "short circuit" is just to a

Re: [EMAIL PROTECTED] apache crash

2005-08-19 Thread Davide Bianchi
Kailash Vyas wrote: > hi all, Please use plain-text posting only. > I am facing a strange problem with the apache 1.3.33 webserver. It seems > to be crashing once in a while. > i checked out the logs and couldn't find the exact reason. Any way I can > trace the possible reasons for the crash. >

[EMAIL PROTECTED] apache crash

2005-08-19 Thread Kailash Vyas
hi all, I am facing a strange problem with the apache 1.3.33 webserver. It seems to be crashing once in a while. i checked out the logs and couldn't find the exact reason. Any way I can trace the possible reasons for the crash. error = [Fri Aug 19 07:51:55 2005] [warn] pid file /usr/local/ap

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Nick Gushlow
> > RewriteCond %{REQUEST_URI} !abbey Hmmm, that has the same effect as the condition I had before. :( The compact rules work and look a lot neater thanks. Nick - The official User-To-User support forum of the Apache HTTP Serve

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Nick Gushlow
On Fri, 2005-08-19 at 11:24 +0200, Axel-Stéphane SMORGRAV wrote: RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L] I compacted the rewrite

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Axel-Stéphane SMORGRAV
Uh Uh. Forgot to add the abbey stuff: RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ RewriteCond %{REQUEST_URI} !abbey RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L] -Original Mess

RE: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Axel-Stéphane SMORGRAV
I suggest the following configuration: RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L] I compacted the rewrite conditions and simplified the r

Re: [EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Krist van Besien
On 8/19/05, Nick Gushlow <[EMAIL PROTECTED]> wrote: > Hey guys, > > I've got a working set of conditions and a rule, but I'm struggling to > add another condition/rule. > > The code below is working and turns any request for http://domain/word > into http://domain/index.php?site=$1 > > RewriteLo

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-19 Thread Krist van Besien
On 8/15/05, Joshua Slive <[EMAIL PROTECTED]> wrote: > Try something like > RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found > RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 You can save yourself one map lookup with: RewriteCond ${MyMap:%{HTTP_HOST}} ^(.+)$ RewriteRule (.*) %1/$1

[EMAIL PROTECTED] mod_rewrite problem

2005-08-19 Thread Nick Gushlow
Hey guys, I've got a working set of conditions and a rule, but I'm struggling to add another condition/rule. The code below is working and turns any request for http://domain/word into http://domain/index.php?site=$1 RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine o

RE: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-19 Thread Axel-Stéphane SMORGRAV
No apoligy or explanation as to why you did this or that is needed. The purpose of this mailing list is for users to help other users. You have no obligation to follow the advice you get, and as a matter of fact, for all you know, the advice could be wrong... -ascs A toombstone at Toombstone, A