On 10/07/07, ying lcs <[EMAIL PROTECTED]> wrote:
Can you please tell me what is the easiest way to write a cgi using c/c++?
I am coming from Tomcat servlet environment, I would like to know how
can I do a cgi using c/c++ in apache?
C:
#include
int main (void)
{
printf("Content-Type: text/ht
Hi,
Can you please tell me what is the easiest way to write a cgi using c/c++?
I am coming from Tomcat servlet environment, I would like to know how
can I do a cgi using c/c++ in apache?
Thank you.
-
The official User-To-User
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
nobody wrote:
> On Mon, 09 Jul 2007 17:25:45 -0400, Ki Song wrote:
>> I want to redirect visitors from http://www.foo.com/folder/index.html to
>> http://folder.foo.com/index.html
>>
>> What is the best way to accomplish this?
>
> ooo... ooo... ooo..
On Mon, 09 Jul 2007 17:25:45 -0400, Ki Song wrote:
> I want to redirect visitors from http://www.foo.com/folder/index.html to
> http://folder.foo.com/index.html
>
> What is the best way to accomplish this?
ooo... ooo... ooo... I know this one:
Here's The Answer:
http://tiny
I want to redirect visitors from http://www.foo.com/folder/index.html to
http://folder.foo.com/index.html
What is the best way to accomplish this?
-
The official User-To-User support forum of the Apache HTTP Server Project.
See
Thanks tp those who responded.
fixed my problem.
Please educate me. Considering that worked
a) for the previous older release, and b) for directories with an
ndex.html file:
1) What about this version caused these symptoms?
2) Exactly why did fix the problem?
Shouldn't have fiaile
Hi,
I've got stability problems with apache 2.0.59 on HPUX compiled from
source. On startup, I see a series of connections despite the fact that no
requests were made to the server. These "connections" loop from 1 to the
number of start servers I've configured. Here's an example from the
error_log
On 09/07/07, Oliver Marshall <[EMAIL PROTECTED]> wrote:
Not sure if this is the right list, but does anyone know how to find out the
user/group that apache is running as in debian ?
It's www-data. See:
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#user
http://wiki.apache.org/httpd/Distr
Lo chaps.
Not sure if this is the right list, but does anyone know how to find out the
user/group that apache is running as in debian ?
Olly
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http:
See if the directory of scripts have a permission "ExecCGI" in the Options
Directive.
Ex:
Options +ExecCGI
wrote:
Do you have sed installed?
if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
| grep . >/dev/null; then
$echo
if test
On 09/07/07, Mark Stevens <[EMAIL PROTECTED]> wrote:
I have a basic reverse proxy setup using mod_cache, mod_disk_cache and
mod_proxy, we are having issues with some of the PDF's getting
corrupted in the cache, the problem is intermittent but is happening
randomly, we are able to re-produce by re
Hi,
I have a basic reverse proxy setup using mod_cache, mod_disk_cache and
mod_proxy, we are having issues with some of the PDF's getting
corrupted in the cache, the problem is intermittent but is happening
randomly, we are able to re-produce by requesting the same file but
appending ?1, ?2 etc u
Ok thanks for the help Vincent, I'll have a look into the virtual hosts
etc, though they seem not to have any directory declarations within them
at all.
-Original Message-
From: Vincent Bray [mailto:[EMAIL PROTECTED]
Sent: 09 July 2007 13:46
To: users@httpd.apache.org
Subject: Re: [EMAIL
On 09/07/07, Julius Thyssen <[EMAIL PROTECTED]> wrote:
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
shows an example almost identical to what I'm using,
with
That example doesn't include DeflateCompressionLevel :-)
I don't remember, but someone on the web, long ago,
advised me to use
On 7/9/07, Vincent Bray <[EMAIL PROTECTED]> wrote:
See the docs for that directive which include:
Context:server config, virtual host
Meaning that this directive can be set in the main server context, or
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
shows an example almost id
On 08/07/07, Roy H. Han <[EMAIL PROTECTED]> wrote:
Hi,
Is there a way to call mod_dbd methods in Python using mod_python? I'm
trying to figure out how to use mod_dbd's connection pooling feature.
I expect not. The mod_python developers would have to hook mod_dbd's
public api in to python-land
On 09/07/07, Dean Pullen <[EMAIL PROTECTED]> wrote:
Options
I don't believe that's valid. Use "Options None" if you want that, but
consider keeping Options Symlinks enabled for the whole server which
will speed things up a bit.
AllowOverride None
Order Deny,Allow
Deny from al
On 09/07/07, Oliver Marshall <[EMAIL PROTECTED]> wrote:
Can anyone recommend a free/OS control panel for apache on linux that will
allow for the quick setup of basic sites ?
Ideally it would be good if it also created an ftp account in proftpd and a
mysql DB as well. Doesn't need email setup or
Options
AllowOverride None
Order Deny,Allow
Deny from all
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
--
On 09/07/07, Dean Pullen <[EMAIL PROTECTED]> wrote:
It produces a 403:
Forbidden
You don't have permission to access /documents/ on this server.
If I remove Indexes from the first directory directive on /, then it
works as required.
But in the OP your block didn't have an Options
directive.
It produces a 403:
Forbidden
You don't have permission to access /documents/ on this server.
If I remove Indexes from the first directory directive on /, then it
works as required.
-Original Message-
From: Vincent Bray [mailto:[EMAIL PROTECTED]
Sent: 09 July 2007 13:27
To: users@httpd.
On 09/07/07, Dean Pullen <[EMAIL PROTECTED]> wrote:
Thanks for the tip, I did read something similar myself...but I've tried
it and it didn't work :-/
Could you be a little more specific? If you're just not seeing
indexes, it could be that you don't have mod_autoindex loaded, or else
your Optio
Thanks for the tip, I did read something similar myself...but I've tried
it and it didn't work :-/
-Original Message-
From: Vincent Bray [mailto:[EMAIL PROTECTED]
Sent: 09 July 2007 12:14
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Overriding directory directives
On 09/07/0
On 09/07/07, Julius Thyssen <[EMAIL PROTECTED]> wrote:
Actually, when I try to use itlike this:
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI\.(?:gif|jpe?g
On 09/07/07, Dean Pullen <[EMAIL PROTECTED]> wrote:
I have the following:
[snip]
Options -Indexes FollowSymLinks MultiViews
This could be the problem. Mixing relative and non-relative options in
the same directives is broken. See:
http://people.apache.org/~rbowen/presentations/apacheco
I have the following:
AllowOverride None
Order Deny,Allow
Deny from all
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from @apache.allow.from@
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Orde
Can anyone recommend a free/OS control panel for apache on linux that will
allow for the quick setup of basic sites ?
Ideally it would be good if it also created an ftp account in proftpd and a
mysql DB as well. Doesn't need email setup or dns or anything.
Any suggestions ?
Olly
-
> I have just installed Apache 2.2 on an Ubuntu 7.04 server (no gui,
> command line only). I would like advice or a pointer to a guide for
> best practice on setting permissions on the files and directories in and
> below webroot. What user and group is suggested and what permissions?
Apache ha
On 09/07/07, Oliver Marshall <[EMAIL PROTECTED]> wrote:
However, this time round, the browser prompts me to download any PHP files I
enter in the URL. HTML and HTM are all fine, its just php.
Try:
http://wiki.apache.org/httpd/PHPDownload
--
noodl
-
On 09/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
good day
Hi
i'm trying to install some php cms system on my hompage's host
machine. there's a index file that is supposed to parse the path after
index, e.g. index/login, do the magic and render the login page. now
apparently the .htac
Hi,
Dunno what I've done, but I'm trying to setup a Mandriva based LAMP box to
run a few minor sites. Done it before, with the same instrucitons, and its
worked fine.
However, this time round, the browser prompts me to download any PHP files I
enter in the URL. HTML and HTM are all fine, its just
On 09/07/07, Qingshan Xie <[EMAIL PROTECTED]> wrote:
After Apache 2.0.59 KeepAlive On, IE6 users got
"Page cannot be found" or "Page cannot be displayed"
errors, but Firefox users worked fine. Do you know
what is the root cause?
MSIE is known to be very broken, but I've never heard of it dy
> -Original Message-
> From: ROTH, MARK, ATTSI [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 06, 2007 10:48 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Still dying with Solaris 8 & apache -
> getting desperate
>
> Folks,
>
>I'm still fighting this, and loosing. The
33 matches
Mail list logo