Re: Apache 2.0.49 CGI.pm post / get
Hallo Marc, wenn ich in einem HTML Formular per POST Methode etwa übermittel will geht das nicht jedoch die GET Methode funktioniert gibst da ne neue Sicherheitseinstellung ?? nein, das liegt einfach am auswertenden CGI-Script auf der Gegenseite. Das CGI-Script erwartet in Deinem Fall einfach, dass die Parameter per GET uebertragen werden und nicht per POST. Wenn das geandert werden soll, dann muss das CGI-Script so angepasst werden, dass es zunaechst prueft, ob die Parameter ueber die GET- Methode gefuellt sind und wenn dies nicht der Fall ist, ob die Parameter ueber die POST-Methode gefuellt sind. Gruss Marcus Reimann M. Reimann Systemberatung http://www.reimann-systemberatung.de -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
Re: Apache 1.3.x Problem / client denied by server configuration:
Hallo Marcus, tschja ich werde es mal ausprobieren was bleibt mir auch übrig Habe aber momentan Urlaub... kann also noch ne gute Woche dauern.. Ich werde berichten.. P.s. Danke für Deine Mail Tschau Tomas Marcus Franke schrieb: Tomas Michal wrote: Hat denn wirklich keiner einen TIP ?? Dumme Frage, aber kann der Server überhaupt ohne? Setz doch einfach mal DocumentRoot auf /usr/HTTPServer/htdocs und lege dort eine index.html hin und gucke was dann in den Logs steht.. Kann man nicht logfiles auch filtern? [EMAIL PROTECTED] schrieb: Hallo, mein Apache läuft auf einer Unix Kiste als Reverse Proxy, daher alle Inhalte etc. sind nicht auf dem Apache sondern liegen ganz woanders. Das funktioniert alles gut... Die Seite ist jedoch gut frequentiert und ich bekomme ständig in meinem ERROR LogFile folgenden Eintrag client denied by server configuration: /usr/HTTPServer/htdocs Das DocumentRoot habe ich nicht in meiner Konfiguration... ist ja ein Proxy und soll kein DocumentRoot besitzen. Als Module habe ich folgende geladen : LoadModule env_module libexec/mod_env.so LoadModule config_log_module libexec/mod_log_config.so LoadModule mime_module libexec/mod_mime.so LoadModule proxy_module libexec/libproxy.so LoadModule alias_module libexec/mod_alias.so LoadModule rewrite_module libexec/mod_rewrite.so LoadModule unique_id_module libexec/mod_unique_id.so LoadModule setenvif_module libexec/mod_setenvif.so Hat evtl. jemand eine Idee wie ich diese Fehlermeldung weg bekomme ? -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] -- -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --
[users@httpd] windows user
Hi, I am having trouble connecting to Mysql from dreamweaver, it's telling me that the that the folder I am pointing the testing server to is not the right folder. I am working on localhost, and trying to create the website in a folder not in the apache documentroot. Do I have to set up virtual server and how do I do that. I have tried following the instructions on the website and have succeeded in making apache not work. I am using apache 1.3.33. Thanks Byron
Re: [users@httpd] Headers Added By Apache
Bumbia, M Kamran wrote: The Client Requires Content-Length to be the last header. Fix the client. That's a violation of HTTP, so you can't expect an HTTP server like Apache to work with it (unless by accident). I have trwied everything the header() in php , mod_header to remove the Content-Type header but it always is the last one and is always added by some module/filter that is being called later than the mod_header in the output filter chain. Response headers are manipulated as a table. The order they appear is effectively random. -- Nick Kew - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[users@httpd] [Win32 Installation] Apache 2.0.54 HTTP-server
Hi, I attempted to install Apache 2.0.54 on a system that is already running 2.0.47. The Windows Installer had this to say about it: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. [OK] Note that these are *different* versions. This limitation effectively prevents me from having multiple versions of Apache installed on the same system, which further makes testing an impossibility. Is this an issue with the MSI package, perhaps? -- Regards, Raymond. -- ___ Få gratis E-postadresse hos Spray Mail! - http://mail.spray.no Powered by Outblaze - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [users@httpd] [Win32 Installation] Apache 2.0.54 HTTP-server
-Original Message- From: Raymond S. [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 18. Mai 2005 12:14 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] [Win32 Installation] Apache 2.0.54 HTTP-server Hi, I attempted to install Apache 2.0.54 on a system that is already running 2.0.47. This is a fundamental feature of the Windows OS paradigm. It regards the unique attribute of any application as the application name. Therefore, for any given application name you can have a maximum of one installation. The advantage of this is that it is easy to upgrade - the installer for the new version sees that there is already an application registered with its name and so removes it first before installing itself in its place. The disadvantage, as you are discovering, is that it is impossible to have two versions of the same application (btw, this is true for *any* application - try installing two versions of WMP or IE or Netscape or whatever). The Unix paradigm is that different versions of programs are just different files - they don't do anything until they are executed so you can have as many versions as you like, so long as they have different filepaths. The disadvantage of this approach is that you have to think when you're upgrading - you need to remove the old version manually or remember to divert paths or symlinks to point to the new version. You pays your money, you takes your choice... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. The Windows Installer had this to say about it: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. [OK] Note that these are *different* versions. This limitation effectively prevents me from having multiple versions of Apache installed on the same system, which further makes testing an impossibility. Is this an issue with the MSI package, perhaps? -- Regards, Raymond. -- ___ Få gratis E-postadresse hos Spray Mail! - http://mail.spray.no Powered by Outblaze - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] Mysterious intermittent apache2 crashes (not sure how to investigate)
On Tue, May 17, 2005 at 03:56:19PM -0400, Shaun Fanning wrote: Hi, I am running apache2 with mod_php (php 4.3.9) on RedHat ES on a dual processor x86 box. It is running with prefork MPM to avoid any multi-threading issues with PHP. Several times over the last month, apache has died when our load spiked with a lot of concurrent users. Does the error_log list any segmentation faults? If you're using the stock Red Hat packages you should call Red Hat support or file the issue in https://bugzilla.redhat.com/bugzilla/. Regards, joe - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] windows user
Byron Dickson wrote: Hi, I am having trouble connecting to Mysql from dreamweaver, it's telling me that the that the folder I am pointing the testing server to is not the right folder. huh? Apache has nothing to do with neither MySQL nor Dreamweaver. Apache is a webserver. I am working on localhost, and trying to create the website in a folder not in the apache documentroot. Do I have to set up virtual server and how do I do that. I have tried following the instructions on the website and have succeeded in making apache not work. I am using apache 1.3.33. you can either use VirtualHost or change apaches DocumentRoot. by making apache not work you mean it wont start? check the error log. eoghan Just want to point out that not all Windows users are like that... - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [users@httpd] windows user
Was letting you know all of the information just incase it made a difference, how I was accessing apache. But I still need to know how to set up the virtual host. thanks -Original Message- From: eoghan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 11:48 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] windows user Byron Dickson wrote: Hi, I am having trouble connecting to Mysql from dreamweaver, it's telling me that the that the folder I am pointing the testing server to is not the right folder. huh? I am working on localhost, and trying to create the website in a folder not in the apache documentroot. Do I have to set up virtual server and how do I do that. I have tried following the instructions on the website and have succeeded in making apache not work. I am using apache 1.3.33. you can either use VirtualHost or change apaches DocumentRoot. by making apache not work you mean it wont start? check the error log. eoghan - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [users@httpd] windows user
Byron- Please start by reading documentation. From what you are writing, it is not clear that you have an understanding enough to ask the right questions. Without this, you will get nothing but inconclusive responses. Thanks- P -Original Message- From: Byron Dickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:40 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] windows user Was letting you know all of the information just incase it made a difference, how I was accessing apache. But I still need to know how to set up the virtual host. thanks - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] Where is Support for Hebrew lang
On 5/18/05, Nanu Calmanovitz [EMAIL PROTECTED] wrote: Thanks, Do u know any such freeware or shareware tool? Lots of websites will do it for you: http://www.google.com/search?q=show+http+response+headers Joshua. - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] Where is Support for Hebrew lang
Nanu Calmanovitz wrote: Thanks, Do u know any such freeware or shareware tool? Firefox has a plugin for that. livehttpheaders.mozdev.org SK - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [users@httpd] Migrating to new server
Looks to me like it may still be a permissions issue. It cant find the file because it cannot read the directory, and it cant read the file so it bounces permission denied. What user is apache(http) run as (ps ef), and what are the permissions of the directory? (ls la /home/web/includes) If it were version problems, youd likely see it in the php reporting. Apache proxying the error for php. Have you looked at the error log? Look for ERROR in the config. There is also a descriptor for the log location. P From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 11:14 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Migrating to new server We have an old PC running RedHat 7.3 with Apache 1.3.29 (i think) and it serves out some PHP/MySQL content to our internal users. I migrated everything on this machine over to a new Server running CentOS 4.0 (Apache 2.0.52). Here are the details Old Box New Box PHP 4.1.2 PHP 4.3.9 MySQL 3.23 MySQL 4.1.10 Apache 1.3.29 Apache 2.0.52 After migrating everything over we are seeing failures when we add an include directory. I modified the php.ini to add the includes directory, in this case /home/web/includes. On the old server all worked well, but on the new server I get an error stating that it cant find the file (which is there) in the includes directory. If we put the entire path in the PHP script to the includes dir, then we get a permission denied error. The permissions on both servers are the same. I guess my question is this. Is this an Apache error or a PHP error. Everything worked fine on the old box with identical settings, but it isnt working on the new box. Any suggestions on where to start looking. I did verify permissions are good etc, but maybe i missed something. -- Richard Humphrey
Re: [users@httpd] [Win32 Installation] Apache 2.0.54 HTTP-server
I eventually found Orca as part of the Platform SDK, though I wasn't sure about what fields to change, but I'll try your suggestion. Here's a program that generates GUIDs, by the way. http://www.microsoft.com/downloads/details.aspx?FamilyID=94551F58-484F-4A8C-BB39-ADB270833AFCdisplaylang=en Thanks for your time, ed, Owen. -- Regards, Raymond. - Original Message - From: ed elliott [EMAIL PROTECTED] To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] [Win32 Installation] Apache 2.0.54 HTTP-server Date: Wed, 18 May 2005 13:58:54 +0100 (BST) I wouldn't suggest you do this on a real machine, but when I want to install more than one version without the source (so using the msi install) I use the orca tool to modify the msi file to let me install correctly: 1 - get orca ( http://support.installshield.com/kb/view.asp?articleid=Q107066 ) 2 - use it to open the msi file, in the property section, change the product code, just pick one number at random and change it - (I ususall change the last or first digit), also change the SERVICEINTERNALNAME and SERVICENAME to Apache254 or something similar. save the msi and it should install - you must do a custom install and change the install location, otherwise you wil overwrite the existing binaries!! you will find that the service doesn't get installed so you need to start apache manually from the install dir and unless you change the port number, you will need to stop the existing service. As I said this is only for testing, but it worked for me, and at the end of the day u end up with the new binaries and so it works. ed Raymond S. [EMAIL PROTECTED] wrote: Hi, I attempted to install Apache 2.0.54 on a system that is already running 2.0.47. The Windows Installer had this to say about it: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. [OK] Note that these are *different* versions. This limitation effectively prevents me from having multiple versions of Apache installed on the same system, which further makes testing an impossibility. Is this an issue with the MSI package, perhaps? -- Regards, Raymond. -- ___ Få gratis E-postadresse hos Spray Mail! - http://mail.spray.no Powered by Outblaze - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Messenger - want a free easy way to contact your friends online? -- ___ Få gratis E-postadresse hos Spray Mail! - http://mail.spray.no Powered by Outblaze - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[users@httpd] 403 on XP accessing an XML database document
Environment: Windows XP Office with SP2 And Windows 2000 Professional Both have Apache 2.0.54 installed. Tested earlier with 2.0.48 In Apache I use the LoadModule directive so that I get access to an XML database. And I use the Location directive to define the access used for the database calls. Each box has its own copy of the XML database. So the calls are to a locally running database, nothing is on a remote system. Example: LoadModule ino_module modules/Apache2ModuleIno.dll Location /tamino SetHandler ino Order allow,deny Allow from all /Location So far so good. I could query the database and retrieve the XML documents. This worked fine with both Windows 2000P and XP. Then my IS department updated the XP machine with SP2 and every update for XP they could find. Since then, on the XP box, I can no longer access the documents in the XML database. I can query the database okay, i.e., how many docs are loaded, how many docs contain this value, things like that. But when I try to retrieve a specific document I receive the error: Forbidden You don't have permission to access /tamino/SCS/SWAPDocs/Processes/SWAP/.../support/Processes/Corporate Disaster Recovery Plan.doc on this server. Apache/2.0.54 (Win32) Server at XP-machine Name Port 80 The Apache Access.log shows: (The IP address) [18/May/2005:10:59:52 -0600] GET /tamino/SCS/SWAPDocs/Processes/SWAP/.../support/Processes/Corporate Disaster Recovery Plan.doc HTTP/1.1 403 404 There is nothing noted in the Apache Error.log I have set the LogLevel to debug in Apache but this does not provide any additional information. I have disable and/or turned off everything that I can think of as far as Windows security on XP goes. - The firewall has been disabled - Every zone has been set to the lowest level possible. - I have manually set, in the Internet options, to allow everything. Either it is allow or is set to prompt. - I have tested this with IE and Mozilla Firefox. There is no difference. McAfee is installed on this (XP) machine. I have disabled it also to no avail. My first thought was this is a problem introduced by SP2 for XP. But there is no information in the system event logs. Plus I have disabled all the security features that I can find. From the error noted above you can see that the file name in the database was stored to resemble the directory path where it original came from. This file name includes the /.../ syntax. Thinking this may be the problem, I have tried to modify this (the ...) to use the backslash (\) character so this is not interrupted as something else (wildcard or something) but it didn't help. I have tried to retrieve the document directly using the URL address in my web browser and by using an application that uses an API for Jscript that can access the XML database. It seems that the LoadModule directive is not taking place when I am requesting the document on XP. If it were, it would not be trying to find this file on disk. At least, to me, that is what it appears to be doing from the error message. But, if this is true, why did this work before SP2 was installed? And why does it continue to work on Windows 2000? One final note: I retested this on the XP box using IIS and it works correctly, without any error, but I can't explain why. And I would prefer to not use IIS if it is possible. Anyone know how to correct this problem? Thank you in advance, Rob - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[users@httpd] Apache not treating .EXE as CGI
Hi all, Question from a newbie. I haveApache 2.0.52 for Win32 installed locally on Windows XP, SP2. I'm trying to runa set of CGI .EXEs (that's Windows executables, not Perl scripts or similar)from NIST. The instructions from the NIST install read as follows about setting up a ScriptAlias in Apache: Add the following ScriptAlias at the appropriate postion in httpd.conf: Alias /WebTools "C:/{path}/WebTools"ScriptAlias /WebTools/WebCAT/cgi-bin/ "C:/{path}/WebTools/WebCAT/cgi-bin/" AllowOverride None Options ExecCGI Order allow,deny Allow from all I've added these sections to my httpd.conf file, making the appropriate substituions for the {path} placeholders,and the simple alias works as expected. However, any reference to one of the .EXEs in the ".../cgi-bin/" directory results in the browser trying to download the EXE rather than Apache running it as a CGI program. This occurs in both Mozilla and IE, and both browsers report the .EXE as a MIM type "application/octet" -- so it appears Apache isn't getting the message that it should *run* the EXEs in that directory, rather than download them. I'm accessing the Apache server locally with a http://localhost... URL. I've tried adding the followingdirectives within the Directory pragma, singly and in combination,to no avail: -AddHandler cgi_script .exe - SetHandler cgi_script .exe I've also triedto usea standard Alias (rather than ScriptAlias) and forcibly enable CGI within the Directory pragma according to the instructions in the Apache manual. What am I missing in my configuration? See below for the relevant sections of my httpd.conf file.I have only used Apache thus far totest my own default homepage, and try this NIST installation, so the Apache configuration is 99% "plain vanilla" default. Cheers, Steve [Excerpt fromhttpd.conf. My additions for the NIST installation start with ### WebCAT ###.] # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # # We include the /icons/ alias for FancyIndexed directory listings. If you # do not use FancyIndexing, you may comment this out. # Alias /icons/ "C:/Program Files/Apache Group/Apache2/icons/" Directory "C:/Program Files/Apache Group/Apache2/icons" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all /Directory ### WebCAT ### ## Alias /WebTools "C:/WebMetrics/WebTools" # # This should be changed to the ServerRoot/manual/. The alias provides # the manual, even if you choose to move your DocumentRoot. You may comment # this out if you do not care for the documentation. # AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "C:/Program Files/Apache Group/Apache2/manual$1" Directory "C:/Program Files/Apache Group/Apache2/manual" Options Indexes AllowOverride None Order allow,deny Allow from all Files *.html SetHandler type-map /Files SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 /Directory # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/" # # "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # Directory "C:/Program Files/Apache Group/Apache2/cgi-bin" AllowOverride None Options None Order allow,deny Allow from all /Directory ### WebCAT ### ## ScriptAlias /WebTools/WebCAT/cgi-bin/ "C:/WebMetrics/WebTools/WebCAT/cgi-bin/" Directory "C:/WebMetrics/WebTools/WebCAT/cgi-bin" AllowOverride None Options ExecCGI AddHandler cgi-script .exe Order allow,deny Allow from all /Directory - The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] Error while installing Apache 1.3.33 on Solaris 10
Sorry for this late response, but this resolved my compiling issues on Solaris 10 using gcc that had been downloaded from http://www.sunfreeware.com/ please visit this link http://forum.sun.com/thread.jspa?threadID=21555tstart=0 Jerry K Rahul Kohli wrote: In order to ensure this is not permission issue I have done the same using root user. Also checked for Ctrl-M characters and the files are perfectly fine. Now I am not getting the errors when running configure command but on execute the make the error still remains the same (shown below) The version of make on my machine is RELEASE VERSION SunOS 5.10 s10_73 November 2004. Do I need to use other version of make (make version 3.80 available under sunfreeware.com). Please suggest. # ./configure --prefix=/test/self/apache1333 --enable-module=proxy --enable-shared=proxy Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Solaris 2100 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using tr [a-z] [A-Z] to uppercase + checking for system header files + adding selected modules + using system Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/modules/standard Creating Makefile in src/modules/proxy # make === src === src/regex === src/regex === src/os/unix gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX `../../apaci` os.c In file included from /usr/include/signal.h:26, from /usr/include/sys/siginfo.h:25, from /usr/include/sys/wait.h:24, from ../../include/ap_config.h:1079, from os.c:21: /usr/include/sys/signal.h:85: error: syntax error before siginfo_t In file included from /usr/include/sys/siginfo.h:25, from /usr/include/sys/wait.h:24, from ../../include/ap_config.h:1079, from os.c:21: /usr/include/signal.h:111: error: syntax error before siginfo_t /usr/include/signal.h:113: error: syntax error before siginfo_t *** Error code 1 make: Fatal error: Command failed for target `os.o' Current working directory /test/self/INs/apache_1.3.33/src/os/unix *** Error code 1 The following command caused the error: for i in regex os/unix ap main lib modules; do \ echo === src/$i; \ case .Solaris 2100 in \ .OS390 | .TPF) ( cd $i make SDP='src/' OPTIM='') || exit 1;; \ *) ( cd $i make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX `./apaci`' RANLIB='true' OPTIM='') || exit 1;; \ esac; \ echo === src/$i; \ done make: Fatal error: Command failed for target `subdirs' Current working directory /test/self/INs/apache_1.3.33/src *** Error code 1 The following command caused the error: case xsun4u-sun-solaris2.2100 in \ x*390*) _C89_STEPS=0x; export _C89_STEPS;; \ esac; \ cd ./src; make SDP=src/ all make: Fatal error: Command failed for target `build-std' Current working directory /test/self/INs/apache_1.3.33 *** Error code 1 The following command caused the error: make -f ./Makefile root= build-std make: Fatal error: Command failed for target `build' Thanks, Rahul -Original Message- From: Craig Dunigan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 12:09 PM To: users@httpd.apache.org; [EMAIL PROTECTED] Subject: RE: [EMAIL PROTECTED] Error while installing Apache 1.3.33 on Solaris 10 Dunno, looks like a straightforward file/directory permissions problem to me. Make sure you have write privileges to both the source and destination directories, or run configure and make under sudo. -- Craig On Thu, 12 May 2005, Harish Sundaram wrote: Check whether Ctrl-M characters got transferred in your code when u transferred the files on to the Solaris machine. If that is the case, transfer file in ascii mode.and try. Thanks and Regards, Harish. x 5337. -Original Message- From: Rahul Kohli [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 9:08 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Error while installing Apache 1.3.33 on Solaris 10 Hi All, I am trying to install Apache 1.3.33 on Solaris 10 machine but am facing certain issues while doing so. The gcc version on my machine is gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath). The steps and the error faced are mentioned below. 1) configure --prefix=/test/self/apache1333 --enable-module=proxy --enable-sh ared=proxy Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Solaris 2100 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using tr [a-z] [A-Z] to uppercase + checking for system header files +
Re: [users@httpd] Apache not treating .EXE as CGI
[ Wow... Nasty email program you've got. HTML only and quite mangled. Please send in plain text.] On 5/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, Question from a newbie. I have Apache 2.0.52 for Win32 installed locally on Windows XP, SP2. I'm trying to run a set of CGI .EXEs (that's Windows executables, not Perl scripts or similar) from NIST. The instructions from the NIST install read as follows about setting up a ScriptAlias in Apache: However, any reference to one of the .EXEs in the .../cgi-bin/ directory results in the browser trying to download the EXE rather than Apache running it as a CGI program. This occurs in both Mozilla and IE, and both browsers report the .EXE as a MIM type application/octet -- so it appears Apache isn't getting the message that it should *run* the EXEs in that directory, rather than download them. I'm accessing the Apache server locally with a http://localhost... URL. Two issues you need to look at: 1. If you download the file and look inside, is it really the binary, or is it the output of the binary (sent with the wrong mime-type)? 2. You appear to have an Alias directive that overlaps with the directory specfied by your ScriptAlias. So your ScriptAlias is likely being ignored. The more specific Alias needs to be listed first. (But given the specific AddHandler and Options directives, this shouldn't be the cause of your problem.) Joshua. - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] possible bug? apache truncates part of the content-type http header if the header is folded
Ian Huynh wrote: Env: Win2K Server, Apache 2.0.52 up to 2.0.54 We are running apache + mod_proxy + mod_rewrite as a reverse proxy for a backend J2EE server. We've observed that if the J2EE server returns a Content-Type with the following value: Content-Type: multipart/signed; [\t]micalg=sha1; [\t]protocol=application/pkcs7-signature; [\t]boundary=Part_10_15429741.1116261846632 Apache will drop the parameter protocol and micalg and return this Content-Type to the client Content-Type: multipart/signed; [\r\n\t]boundary=Part_10_15429741.1116261846632 However, if the content-type header is not folded the content-type is returned unchanged It looks like when a content-type (only content-type header, other headers are not affected) is folded, only the last parameter is picked up and returned to the client. I haven't tested that, but it smells of a genuine bug (your description is far more coherent than we expect from the people who submit bug reports because they haven't read TFM). If you don't get a better reply here, it might be worth an entry in bugzilla. -- Nick Kew - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] log request content length in access.log
On 5/18/05, Michael Lu [EMAIL PROTECTED] wrote: Is there a way to log request content length in access.log? There is a %b option to log response content lengh so I think there should be one for request as well? You can log the stated content-length with %{Content-Length}i. If you want the actual number of bytes received, you'll need to look at %I provided by mod_log_io. Joshua. - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [users@httpd] win 2K install problem
Matt Daniel wrote: sorry did not finish the sentence I have installed the same software, on the same network on another machine I have that is a WinXp and less modern and that works fine, so I assume there is no network rights type problems -Original Message- From: Matt Daniel Sent: Thursday, 19 May 2005 2:15 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] win 2K install problem Hi I am trying to install apache 2 on my win 2k machine and the install gets stuck on Creating shortcuts. IIRC, you can opt to avoid Creating shortcuts Maybe that will let it complete (optimism pays sometimes :) ) Mike The install will stall with the bar graph all most at the end and will then time out. I have installed the same software, on the same network on another machine I have that is a WinXp and less modern I have tried install for both all users and current user. I have shut all programs down I have rebooted Is there something I could have running that could affect the install ? Thanks Matt Installing on a work network. On my local PC I have admin rights to the PC The PC Dell Precision 340 2.2 GHz 1 Gig Ram C: 1x18 Gig SCSI D: 1x120 Gig EIDE X: CD-RW - 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: [EMAIL PROTECTED] from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]