Hi,
I want to do something like this:
.
SetEnvIfNoCase Referer somewhere limitaccess
.
then if env "limitaccess" is set,
LoadModule limitipconn_module modules/mod_limitipconn.so
otherwise don't load the mod_limitipconn
Is it possible?
Jeff.
-
Thanks Kevin - you got me thinking….I’ve
got it going J, but I think it was all along!
Being rather new to all this (the linuxbox
was built yesterday)…
The problem was I was accessing the html
file by file:///var/www/html/wp.html when submitted the cgi script
will point to /var/w
Is your Config file split up into several files,
does your config file call (if thats the correct word to use) other config files
from elsewhere after your personal additions / alterations. If so
this would i guess override all your own work?
Are you altering the correct Config File? Is
Stephen,
Look closely at the errors:
"/var/www/html/cgi-bin/mycgi.cgi"
It is looking in the html folder because you don't
have the domain or ip before the cgi-bin.
yourdomain.com/cgi-bin/mycgi.cgi
I am unsure how to access the cgi-bin from the
folder html without domain unless you have the c
Yes, but it was worth a try L
Stephen
From: Mark Feather
[mailto:[EMAIL PROTECTED]
Sent: 30 July 2005 00:44
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] cgi
scripts not running
Another silly thought...when you make an alteration in
the config fi
Another silly thought...when you make an
alteration in the config file do you restart Apache?
Hello Mark.
Tried replacing
with
Looking thro the Apache docs it
should be
And
The +ExecCGI as far as I can tell is
not needed as there is only one option within so it’
If I have the error is The file
/var/www/html/cgi-bin/mycgi.cgi cannot be found
If I have the error is The file
/var/www/html/mycgi.cgi cannot be found
If I have the error is The file /cgi-bin/mycgi.cgi cannot be found
So how do I get it to look in /var/www/cgi-bin
Stephen,
I
think the answer may be that you have:
When called from the page that
has the form on it... it is looking for the mycgi.cgi file in:
/var/www/html/cgi-bin
Please correct me if I'm
wrong.
Thanks,
Kevin
Hello
Mark.
Tried replacing
with
L
Hello Mark.
Tried replacing
with
Looking thro the Apache docs it should be
And
The +ExecCGI as far as I can tell is not needed as there is
only one option within so it’s
the most specific one. But I did try it anyway!
I’ve been trying various thi
Where is your Document Root in relation to your cgi-bin?
Does your scripts Shebang line point to the correct location of bash?
Is there anything in your error logs that may help?
Try a perl cgi script, create a file called test.cgi and place the following
code into it, does it run correctly in the
Allso is
Options ExecCGI
the same as
Options +ExecCGI
Try replacing
with
Thanks Wesley for your reply.
Unfortunately that not it, the script has the extension .cgi
I find it a bit odd that unless I put the entire path in my web page, the
script cannot be found.
i.e. I have to p
Try replacing
with
Thanks Wesley for your reply.
Unfortunately that not it, the script has the extension .cgi
I find it a bit odd that unless I put the entire path in my web page, the
script cannot be found.
i.e. I have to put ACTION=”/var/www/cgi-bin/mycgi.cgi” instead of
ACTION=”/my
Thanks Wesley for your reply.
Unfortunately that not it, the script has
the extension .cgi
I find it a bit odd that unless I put the
entire path in my web page, the script cannot be found.
i.e. I have to put ACTION=""
instead of ACTION="" or ACTION="">
what do you
Great!! Thank you!! That worked!!
-Original Message-
From: Noah [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 1:48 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod_rewrite
On Fri, Jul 29, 2005 at 12:49:00PM -0400, Lucas, David wrote:
> Hello,
>
> I have an inte
This might be a shot in the dark, but in
your first post you mention that you are running Bash scripts. Did you name
those scripts with a .sh extension? If yes, you’ll need to include .sh in your ‘AddHandler’
line after the .cgi.
Wesley
-Original Message-
From: Stephe
I cannot get my cgi scripts to run; the script is displayed
in the web browser instead.
I presume the problem is that the cgi directory is not
recognised as a directory containing scripts.
I have checked httpd.conf for:
ScriptAlias /cgi-bin/
“/var/www/cgi-bin/”
I do wonder if
> RewriteEngine on
> RewriteRule ^([A-Za-z])$ /$1/ [R]
> RewriteRule ^([A-Za-z])/$ index.php?object=$1
>
> Now, if I go http://mysite.com/signup/ it does not map it but only
> displays
> a 404. What am I missing?
That you match only one character in the regexp, instead of an arbitrary
number.
Wha
> # openssl s_client -connect (sitename):443 -debug
> CONNECTED(0003)
> - 3c 21 44 4f 43 54 59 20771:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol:s23_clnt.c:475:
You didn't set SSLEngine on for this virtual host, so it's delivering
un
On Fri, Jul 29, 2005 at 12:49:00PM -0400, Lucas, David wrote:
> Hello,
>
> I have an interesting dilemma that I need to figure out a solution to.
> I hope someone on this list can help me.
>
> I have Apache running on a Linux server. I need to change the document
> root based on source IP addres
It was thus said that the Great Oliver Kirchel once stated:
>
> Hi,
> how can I raise the files per process. If I do "umilit -n" it shows
> 1024. Maybe its to less.
You give "ulimit -n" a value, like "ulimit -n 2048". What I did was I
found the startup script (usually something like "/etc/init
Hello,
I have an interesting dilemma that I need to figure out a solution to.
I hope someone on this list can help me.
I have Apache running on a Linux server. I need to change the document
root based on source IP address. I have this working and it works very
well. Now, with the nature of a c
Hi,
I have not put it in the config file because I want to use the .htaccess. I
am lost a bit because it seems as if there is no access to the .htaccess
file.
Maybe I am doing something wrong in the config file?
Thomas
-Original Message-
From: Axel-Stéphane SMORGRAV [mailto:[EMAIL PROTE
Haven't tried this at home; my parents won't let me:
RewriteRule ^/([^/]+)/([^/]+)/([^/]+) /index.php?object=$1&function=$2&action=$3
Put it into your httpd.conf.
Does it work for you?
-ascs
From: Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005
Thanks-
I was able to get it going finally. Once I was able to understand where
everything was being stored on the server and how to call to it.
Thanks for all the help everyone.
Joost de Heer wrote:
Tom Ray [Lists] said:
We built a box months ago using SuSE 9.1, and installed everythin
Hi,
I have my site setup like
this:
index.php?object=object&function=function&action=""
.
I want to be able to have a
url like this:
http://mysite.com/object/function/action
or morethings.
As you can see, I want to
map the url directly to my values (.i.e. /ob
Just for fun, what about this:
RewriteCond $2 =asp [NC]
RewriteRule (.*)\.([^.]*)$ http://aspserver/$1.asp [P]
-ascs
-Original Message-
From: Kuntze, Darin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 2:55 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED]
Thanks for the reply.
Would the equivalent be:
RewriteRule (.*)\.[aA][sS][pP]$ http://aspserver\$1.asp [P]
Does this look correct?
-Original Message-
From: Joshua Slive [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 28, 2005 10:14 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTE
I cannot get my cgi scripts to run; the script is displayed
in the web browser instead.
I presume the problem is that the cgi directory is not
recognised as a directory containing scripts.
I have checked httpd.conf for:
ScriptAlias /cgi-bin/
“/var/www/cgi-bin/”
I do wonder if
Hi,
how can I raise the files per process. If I do "umilit -n" it shows
1024. Maybe its to less.
Thanks Olli
> -Ursprüngliche Nachricht-
> Von: Sean Conner [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 28. Juli 2005 19:55
> An: users@httpd.apache.org
> Betreff: Re: AW: [EMAIL PROTECT
Joost de Heer wrote:
>>>I am running Apache 2.1.6 on FreeBSD 4.9. It is running on port 8080
>>>because another version of Apache is running on port 80.
>
>
>>>My apxs command to install mod_proxy_html:
>>>./apache21/bin/apxs -c -I/usr/local/include/libxml2
>>>-I/usr/local/include/apache -i mod_
I would love to get some time to test Apache 2.1. Unfortunately we already have
our share of problems with the stability of Apache 2.0. By stability I do not
mean that the software does not work or crashes, but that there are so many
changes from one Apache release to another (especially with mo
>From the mod_rewrite manual page:
> + 'nocase|NC' (no case)
> This makes the test case-insensitive, i.e., there is no difference between
> 'A-Z' and
> 'a-z' both in the expanded TestString and the CondPattern. This flag is
> effective only
> for comparisons between TestString and CondPattern.
> -Original Message-
> From: Chase [mailto:[EMAIL PROTECTED]
> Sent: Freitag, 29. Juli 2005 00:43
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] lots of near-simultaneous requests the
> same file
>
>
> i have a tiny little cgi script (one line of code) that will be
> called
I'm not sure if this is a php question or an apache question, but it seems
that i'm using the apxs toolkit, so here goes. my apologies if this is in
the wrong area.
i'm installing from source apache 2.0.54 and php 5.0.4. php is being
installed as a module. i am using suse linux 9.3. i've succ
34 matches
Mail list logo