Re: [us...@httpd] Apache port help

2009-03-06 Thread André Warnier

Brian Mearns wrote:
[...]
+1 on all the rest, and add "OpenXML" to the list.


Anyway, those are both of my pennies on the topic. Sounds like the OP
was able to solve his problem, so that's good.


Although he never bothered to tell us how he solved it, but I guess that
is too much to ask ?



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



[us...@httpd] Connect to the First Byte = Slow

2009-03-06 Thread Dominique SA
Hi,
Using pingdom.com, I've tested the connect to first byte latency speed and
it's pretty slow on a dedicated box running FreeBSD 7.0, Apache 2.2 with a
few virtual named host on a 10mbps connection. It varies between 2.9 and 4.5
seconds. Is there any tweak that can be done or anything that be
added/removed to increase that that connect to first byte speed?

Thanks

Dominique



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



[us...@httpd] how to debug a module?

2009-03-06 Thread robert rottermann
Hi there,

please forgive me if this sounds stupid..

There is an apache modul I do not unterstand
therefore I would like to load it in a debugger, so that I can step trough it at
runtime.
in a former life (which lasted up to 2000) i used to be proficient with c. but
this is long ago and on windows, now I am using linux. furthermore I am spoiled
using python. therefore I have all but forgotten how "real" programmers work.

now could anybody give me hints or pointers to tutorials on how to develop/debug
apache modules under linux?

thanks
robert

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



Re: [us...@httpd] how to debug a module?

2009-03-06 Thread anson ho
I use fprintf(stderr,"a debug message"); It is stupid but it works in all
platforms.


On Fri, Mar 6, 2009 at 5:37 PM, robert rottermann  wrote:

> Hi there,
>
> please forgive me if this sounds stupid..
>
> There is an apache modul I do not unterstand
> therefore I would like to load it in a debugger, so that I can step trough
> it at
> runtime.
> in a former life (which lasted up to 2000) i used to be proficient with c.
> but
> this is long ago and on windows, now I am using linux. furthermore I am
> spoiled
> using python. therefore I have all but forgotten how "real" programmers
> work.
>
> now could anybody give me hints or pointers to tutorials on how to
> develop/debug
> apache modules under linux?
>
> thanks
> robert
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [us...@httpd] how to debug a module?

2009-03-06 Thread William A. Rowe, Jr.

robert rottermann wrote:


now could anybody give me hints or pointers to tutorials on how to develop/debug
apache modules under linux?


You probably want to become familiar with gdb.

In the case of httpd, you want to learn the -X flag to avoid
forking off the child processes (run only one which you can
single step).  Or become adept with breakpoints against the
forked and multithreaded code :)

And read http://httpd.apache.org/dev/debugging.html

Best of luck,

Bill


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



[us...@httpd] Logs: two different time zone?

2009-03-06 Thread Jean-Yves Avenard
Hello

I'm very puzzled with this one as I have no idea whatsoever with what could
be happening.

Server is located in SF, Eastern Standard Time.

Every once in a while, I will get time in the +11 timezone in the logs, like
this:

Like this:
38.100.x.x - - [06/Mar/2009:01:52:07 -0800] "GET /aboutus/index.php?id=19
HTTP/1.1" 200 13029 "-" "panscient.com"
38.100.x.x - - [06/Mar/2009:20:52:09 +1100] "GET /aboutus/index.php?id=32
HTTP/1.1" 200 9161 "-" "panscient.com"
38.100.x.x - - [06/Mar/2009:01:52:10 -0800] "GET
/media/vid-sml.php?video=JYA3_TypesOfClients HTTP/1.1" 200 1395 "-" "
panscient.com"

This would happen about once a day...

This completely screw up awstat (who doesn't handle timezone properly) as
well as all the other apache logs analyser (webaliser etc...).

.Any ideas what could be happening and where should I look ?

Thank you
Jean-Yves


RE: [us...@httpd] Apache port help

2009-03-06 Thread Tim Ford
Hello, my boss told me its okay to leave the web address with the port attached.
 
Tim



From: André Warnier [mailto:a...@ice-sa.com]
Sent: Fri 3/6/2009 2:57 AM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Apache port help



Brian Mearns wrote:
[...]
+1 on all the rest, and add "OpenXML" to the list.
>
> Anyway, those are both of my pennies on the topic. Sounds like the OP
> was able to solve his problem, so that's good.
>
Although he never bothered to tell us how he solved it, but I guess that
is too much to ask ?



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




This e-mail and any attachments may contain confidential information that is 
legally privileged. If you received this e-mail in error or are not the 
intended recipient, you should delete and destroy the e-mail and any 
attachments or copies;  
you are prohibited from retaining, distributing, disclosing or using any 
information contained in the e-mail.  Please notify the sender of the erroneous 
e-mail delivery by return e-mail.  Thank you for your cooperation.



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



Re: [us...@httpd] Logs: two different time zone?

2009-03-06 Thread Eric Covener
On Fri, Mar 6, 2009 at 7:17 AM, Jean-Yves Avenard  wrote:
> Hello
>
> I'm very puzzled with this one as I have no idea whatsoever with what could
> be happening.
>
> Server is located in SF, Eastern Standard Time.
>
> Every once in a while, I will get time in the +11 timezone in the logs, like
> this:
>
> Like this:
> 38.100.x.x - - [06/Mar/2009:01:52:07 -0800] "GET /aboutus/index.php?id=19
> HTTP/1.1" 200 13029 "-" "panscient.com"
> 38.100.x.x - - [06/Mar/2009:20:52:09 +1100] "GET /aboutus/index.php?id=32
> HTTP/1.1" 200 9161 "-" "panscient.com"
> 38.100.x.x - - [06/Mar/2009:01:52:10 -0800] "GET
> /media/vid-sml.php?video=JYA3_TypesOfClients HTTP/1.1" 200 1395 "-"
> "panscient.com"

mod_php setting "TZ" environment variable?

-- 
Eric Covener
cove...@gmail.com

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



[us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Arne Berner
Hi,

I have a  Apache/2.2.8 running as a reverse proxy in front of a .Net
application using Ajax and the gaia framework (gaiaware.net)
I have setup several ProxyHTMLURLMap for to rewrite the responses from
the application, and this works great for html content and javascript
embeded in the html.
But not for HTTPResponses with javascript only.
  The request is a HTTP Post to /myproxyurl/Default.aspx HTTP/1.1

I get the following response from the application:

  HTTP/1.1 200 OK
  Date: Fri, 06 Mar 2009 14:05:20 GMT
  Server: Microsoft-IIS/7.0
  Cache-Control: no-cache
  Pragma: no-cache
  Content-Length: 60180
  Content-Type: application/x-javascript; charset=utf-8
  Expires: -1
  X-AspNet-Version: 2.0.50727
  X-Powered-By: ASP.NET
  Keep-Alive: timeout=5, max=96
  Connection: Keep-Alive

  
$incJs('/MyApp/WebResource.axd?d=dGQs8ne3u7b0K7EaoETbR_FwF8zjp0AaLHXg0ndOpW1BmZAzE7hWisLR446zo..

I would like to rewrite the /MyApp/ to /myproxyurl/ as I've done in
the html responses with the following ProxyHTMLURLMap:

  
ProxyHTMLExtended On
SetOutputFilter proxy-html
ProxyHTMLURLMap /MyApp/WebResource.axd
/myproxyurl/WebResource.axd
ProxyHTMLURLMap MyApp/ myproxyurl/
ProxyHTMLDoctype XHTML Legacy
  



regards from Arne Berner

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



Re: [us...@httpd] Apache port help

2009-03-06 Thread John Hudak
Seems to me this whole rant got started because someone who appears to be
well indoctrinated in the M$ world thought that Apache was somehow a lesser
program because it did have a mechanism to support port sharing.  That is a
discussion for the developers thread and if you feel strongly about it, then
you can devote your time to push that concept.  As I see it, this is not a
new concept.  In the 2000's the buzz word is 'virtualization'It depends
on the design goals of the program as to what concept needs to be pushed.
Sharing a port is yet another level of abstractions/indirection that most
likely can decrease performance.  (e.d. somthing M$ has not been overly
concerned about, just look at Vista).  There are also security issues
(something else  M$...well you get the picture).
Am glad the OP solved the issue.
-J


On Thu, Mar 5, 2009 at 5:03 PM, Flowering Weeds
wrote:

>
>
> > >>
> > >
> > > Call me crazy...but if apache were written in .NET, wouldn't that make
> > > it a Windows-only product?
> > >
> > >
> > >
>
>
> No http.sys makes it Windows only
> but so does WSA commands now!
>
> Anyway a lot of .NET (CLR really) is
> in Mono and the many Silverlight .NET
> usage versions for most OS browsers.
>
> Remember C# is a standard now
> and .NET is Microsft's version of it!
>
> FYI
>
>
>
> --
> Windows Live™: Keep your life in sync. Check it 
> out.
>


Re: [us...@httpd] Apache port help

2009-03-06 Thread Matus UHLAR - fantomas
On 06.03.09 07:41, Tim Ford wrote:
> Hello, my boss told me its okay to leave the web address with the port 
> attached.

You can still run it on different IP on the same host, but you must
configure IIS not to listen on that IP (and apache to listen on it).

-- 
Matus UHLAR - fantomas, uh...@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.
Windows 2000: 640 MB ought to be enough for anybody

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



Re: [us...@httpd] Apache port help

2009-03-06 Thread Matus UHLAR - fantomas
> > IIS is therefore the only entity that can
> > redirect the request to another port. 

On 05.03.09 14:12, Flowering Weeds wrote:
> One should define terms IIS6, 7, 7.5
> 
> do not redirect or send responses
> 
> http.sys does this - and also does for 
> 
> any other Windows process 
> 
> that uses http.sys.

OK, so how fo we enforce http.sys to pass the request to apache instead of
IIS?

-- 
Matus UHLAR - fantomas, uh...@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.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

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



[us...@httpd] printing an httpd.conf file

2009-03-06 Thread Hindley Nick
hello all,

I've inherited a system with a baroque set of configuration files - nested 
includes etc.

I've been trying to unpick this and have found a perl module 
Config::ApacheFormat which looks powerful enough to be able to to the parsing.

However, my perl isnt good enought to be able to hack out a script to just 
print out everything

Has anyone else managed to do something like this?

thanks



---
Nick Hindley
Senior Unix Systems Analyst
Hammersmith And Fulham Bridge Partnership
nick.hind...@hfbp.co.uk
T: (020) 8753 2926




===
This email has been scanned for Virus infection by MessageLabs
 For more information please contact messagel...@atomwide.com 
===

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



[us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Virendra Malushte
Hi,

PFB the error details;
--

43 > ./apachectl start

httpd: Syntax error on line 58 of /phr-
nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot
load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22.sl into server: No such
file or directory



The steps for reproducing the error are attached. The attached steps are
copied when tried for 2.2.11 instance.

regards,
Virendra.


Apache2211 steps.doc
Description: MS-Word document
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Frank Gingras

Virendra Malushte wrote:

Hi,

PFB the error details;
--

43 > ./apachectl start

httpd: Syntax error on line 58 of /phr-
nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot
load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22.sl into server: No such
file or directory



The steps for reproducing the error are attached. The attached steps are
copied when tried for 2.2.11 instance.

regards,
Virendra.

  



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

Virendra,

You're trying to load a module that does not exist. See your LoadModule 
line, and make sure the path is correct.


Frank

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



[us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Anybody know if there's a way for apache's rewrite to check POST data?
I need to rewrite a url based on a param=value in the POST.

Thanx,

-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com



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



Re: [us...@httpd] rewrite based on POST data?

2009-03-06 Thread Frank Gingras

Anthony J. Biacco wrote:

Anybody know if there's a way for apache's rewrite to check POST data?
I need to rewrite a url based on a param=value in the POST.

Thanx,

-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com



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

  

Anthony,

mod_rewrite cannot see or manipulate it, but you can use mod_security to 
an extent.


Frank

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



Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Virendra Malushte
Hi Frank,

I have rechecked the path and the LoadModule statement, both match.

Plesae refer to below error;
---


httpd: Syntax error on line 75 of
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf:

Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server:
No such file or directory

--



The same thing works with Apache  223

Steps followed to reproduce are mentioned below;

*1.   **The main server is installed at:*

/s7dev/p1/uda/Apache/Apache2211_Hpux

2.   *The instance is located at*

/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535

3.   *The cognos query is installed at:*

/phr-mu_1/cqdev/cognos/cer5

 *4.   **Create directory for instance with 3 folders*

1) bin 2) conf 3) logs

copy files apachectl & envvars from main instance's bin directory

copy file httpd.conf  from main instance's conf directory.

5.   *Go to bin directory of your Instance*.

A)  Edit apachectl file to have following entries:

HTTPD='/s7dev/p1/uda/Apache/Apache2211_Hpux/bin/httpd -f
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf -d
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf'

if test -f /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars; then

  . /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars

fi



B)  Edit* envvars and add below entries*:



SHLIB_PATH="/s7dev/p1/uda/Apache/Apache2211_Hpux/lib:/s7dev/p1/uda/Apache/Apache2211_Hpux/modules:$SHLIB_PATH"

SHLIB_PATH=$SHLIB_PATH:/phr-mu_1/cqdev/cognos/cer5/bin:/phr-mu_1/cqdev/cognos/cer5/cgi-bin

**

*6.   **Go to conf directory of your instance.*

*Edit httpd.conf file to have following entries.*

-

ServerRoot "/s7dev/p1/uda/Apache/Apache2211_Hpux"

PidFile /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/httpd.pid



Listen 10.74.25.35:3535



 BEGIN MOD INTERFACE STATEMENTS
#

# Add Cognos  module information
###



LoadModule loginmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/
loginmod22.sl"

loginGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler login







LoadModule fmmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/fmmod22.sl"

fmGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler fm







LoadModule cqmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/cqmod22.sl"

cqGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler cq







LoadModule upfmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/upfmod22.sl"

upfGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler upf





### END OF MOD INTERFACE STATEMENTS
#





ServerName 10.74.25.50:3540





ErrorLog /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/error_log





ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"

Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation"

Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent"







AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order deny,Allow

Allow from all









ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"

Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation"

Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent"







AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order deny,Allow

Allow from all





-




7.   * Now go to bin Directory and run below command:*



./apachectl start





We are getting below error:

httpd: Syntax error on line 75 of
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf:

Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server:
No such file or directory

















On Fri, Mar 6, 2009 at 11:38 AM, Frank Gingras
wrote:

> Virendra Malushte wrote:
>
>>  Hi,
>>
>> PFB the error details;
>>
>> --
>>
>> 43 > ./apachectl start
>>
>> httpd: Syntax error on line 58 of /phr-
>> nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot
>> load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22.sl into server: No
>> such
>> file or directory
>>
>>
>> 
>>
>> The steps for reproducing the error are attached. The attach

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Frank Gingras

Hello,

Give us the output from ls -al 
/phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl


Also, what OS is this? If you're running CentOS or Fedora, try turning 
off selinux.


Frank

Virendra Malushte wrote:

Hi Frank,

I have rechecked the path and the LoadModule statement, both match.

Plesae refer to below error;
---


httpd: Syntax error on line 75 of
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf:

Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server:
No such file or directory

--



The same thing works with Apache  223

Steps followed to reproduce are mentioned below;

*1.   **The main server is installed at:*

/s7dev/p1/uda/Apache/Apache2211_Hpux

2.   *The instance is located at*

/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535

3.   *The cognos query is installed at:*

/phr-mu_1/cqdev/cognos/cer5

 *4.   **Create directory for instance with 3 folders*

1) bin 2) conf 3) logs

copy files apachectl & envvars from main instance's bin directory

copy file httpd.conf  from main instance's conf directory.

5.   *Go to bin directory of your Instance*.

A)  Edit apachectl file to have following entries:

HTTPD='/s7dev/p1/uda/Apache/Apache2211_Hpux/bin/httpd -f
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf -d
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf'

if test -f /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars; then

  . /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars

fi



B)  Edit* envvars and add below entries*:



SHLIB_PATH="/s7dev/p1/uda/Apache/Apache2211_Hpux/lib:/s7dev/p1/uda/Apache/Apache2211_Hpux/modules:$SHLIB_PATH"

SHLIB_PATH=$SHLIB_PATH:/phr-mu_1/cqdev/cognos/cer5/bin:/phr-mu_1/cqdev/cognos/cer5/cgi-bin

**

*6.   **Go to conf directory of your instance.*

*Edit httpd.conf file to have following entries.*

-

ServerRoot "/s7dev/p1/uda/Apache/Apache2211_Hpux"

PidFile /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/httpd.pid



Listen 10.74.25.35:3535



 BEGIN MOD INTERFACE STATEMENTS
#

# Add Cognos  module information
###



LoadModule loginmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/
loginmod22.sl"

loginGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler login







LoadModule fmmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/fmmod22.sl"

fmGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler fm







LoadModule cqmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/cqmod22.sl"

cqGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler cq







LoadModule upfmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/upfmod22.sl"

upfGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"



SetHandler upf





### END OF MOD INTERFACE STATEMENTS
#





ServerName 10.74.25.50:3540





ErrorLog /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/error_log





ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"

Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation"

Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent"







AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order deny,Allow

Allow from all









ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"

Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation"

Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent"







AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order allow,deny

Allow from all









AllowOverride None

Options None

Order deny,Allow

Allow from all





-




7.   * Now go to bin Directory and run below command:*



./apachectl start





We are getting below error:

httpd: Syntax error on line 75 of
/phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf:

Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server:
No such file or directory

















On Fri, Mar 6, 2009 at 11:38 AM, Frank Gingras
wrote:

  

Virendra Malushte wrote:



 Hi,

PFB the error details;

--

43 > ./apachectl start

httpd: Syntax error on line 58 of /phr-
nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot
load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22.sl into server: No
su

Re: [us...@httpd] Apache 2.2.10 web server issue with HPUX

2009-03-06 Thread Eric Covener
On Fri, Mar 6, 2009 at 1:03 PM, Frank Gingras
 wrote:
> Hello,
>
> Give us the output from ls -al
> /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl


And maybe the ldd (or equivalent) output, too

-- 
Eric Covener
cove...@gmail.com

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



Re: [us...@httpd] Apache port help

2009-03-06 Thread André Warnier

Tim Ford wrote:

Hello, my boss told me its okay to leave the web address with the port attached.
 

Thank you.  At least now we won't die stupid.
Smart boss.
:-)

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



RE: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Flowering Weeds


 

> 
> I have a  Apache/2.2.8 running as a reverse proxy in front of a .Net
> application using Ajax and the gaia framework (gaiaware.net)

 

Why?  One already has http.sys,

the safest HTTP usage today!

 

Run either Apache or IIS 7

no need for both is there?


>> I get the following response from the application:
> 
> HTTP/1.1 200 OK
> Date: Fri, 06 Mar 2009 14:05:20 GMT
> Server: Microsoft-IIS/7.0


 

 

_
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009

Re: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Arne Berner
That was not the question. But when you ask...
- The apache has a SUN Access Manager plugin (not supported on IIS7)
- The apache is running mod_security. Is there a equivalent om IIS?

so back to the question about rewrite of javascript requests...


2009/3/6 Flowering Weeds :
>
>
>>
>> I have a  Apache/2.2.8 running as a reverse proxy in front of a .Net
>> application using Ajax and the gaia framework (gaiaware.net)
>
> Why?  One already has http.sys,
> the safest HTTP usage today!
>
> Run either Apache or IIS 7
> no need for both is there?
>
>>> I get the following response from the application:
>>
>> HTTP/1.1 200 OK
>> Date: Fri, 06 Mar 2009 14:05:20 GMT
>> Server: Microsoft-IIS/7.0
>
>
>
>
> 
> Windows Live™ Contacts: Organize your contact list. Check it out.

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



Re: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread William A. Rowe, Jr.

Arne Berner wrote:


I get the following response from the application:

I would like to rewrite the /MyApp/ to /myproxyurl/ as I've done in
the html responses with the following ProxyHTMLURLMap:


That's in the request body... please have a look at mod_substitute (2.2)
(soon to become mod_sed in 2.4).

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



RE: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Flowering Weeds


> 
> That was not the question. But when you ask...

 

Hey thanks for the answer.


> - The apache has a SUN Access Manager plugin (not supported on IIS7)


I don't use this but since one is using IIS 7 I looked at

 

http://docs.sun.com/app/docs/doc/819-4669/adrab?a=view


How Access Manager Works

 

And since I don't use this (I could be wrong)

but a lot of this is all in http.sys itself. I'm

sure there is much more to this Access Manager!

 

But for certain users for certain access and etc. 

can be done for https.sys aware products.

 

When one is not busy, (and I know we all never are not busy)

perhaps take a look at setting up http.sys for certain

users only access (databases, web services, etc.)

 

Http.sys is not just for IIS7! 

It is for any Windows HTTP usage.

A lot of products use http.sys.

ASF can use http.sys too.

 

> - The apache is running mod_security. Is there a equivalent om IIS?


Not needed but perhaps look up URLScan.

 

Using Windows PowerShell yet?

 

Yep change is tough on all of us!

 

 


_
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009

Re: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Brian Mearns
On Fri, Mar 6, 2009 at 5:02 PM, Flowering Weeds
 wrote:
>
>>
>> That was not the question. But when you ask...
>
> Hey thanks for the answer.
>
>> - The apache has a SUN Access Manager plugin (not supported on IIS7)
>
> I don't use this but since one is using IIS 7 I looked at
>
> http://docs.sun.com/app/docs/doc/819-4669/adrab?a=view
>
> How Access Manager Works
>
> And since I don't use this (I could be wrong)
> but a lot of this is all in http.sys itself. I'm
> sure there is much more to this Access Manager!
>
> But for certain users for certain access and etc.
> can be done for https.sys aware products.
>
> When one is not busy, (and I know we all never are not busy)
> perhaps take a look at setting up http.sys for certain
> users only access (databases, web services, etc.)
>
> Http.sys is not just for IIS7!
> It is for any Windows HTTP usage.
> A lot of products use http.sys.
> ASF can use http.sys too.
>
>> - The apache is running mod_security. Is there a equivalent om IIS?
>
> Not needed but perhaps look up URLScan.
>
> Using Windows PowerShell yet?
>
> Yep change is tough on all of us!

Enough with http.sys, already! If you think MS offers better solutions
than Apache, then by all means, use them! But this is the *apache*
user's list. I've never even seen your name on this list before the
past two days, and so far every message you've posted has been about
http.sys or .NET or IIS. It seems like the only reason you signed up
for this list in the first place is to evangelize over the great and
powerful Microsoft. If you have nothing apache related to actually
contribute to this community, then please just head back to redmond
and leave us to our own.

Thank you,
-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/

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



RE: [us...@httpd] rewrite based on POST data?

2009-03-06 Thread Anthony J. Biacco
Thanx, I ended up using a rewriterule with [P] to proxy it to another
vhost, that kept the POST intact.

-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com


-Original Message-
From: Frank Gingras [mailto:francois.ging...@gmail.com] 
Sent: Friday, March 06, 2009 10:07 AM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] rewrite based on POST data?

Anthony J. Biacco wrote:
> Anybody know if there's a way for apache's rewrite to check POST data?
> I need to rewrite a url based on a param=value in the POST.
>
> Thanx,
>
> -Tony
> ---
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27
> abia...@formatdynamics.com
> http://www.formatdynamics.com
>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>"   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>   
Anthony,

mod_rewrite cannot see or manipulate it, but you can use mod_security to

an extent.

Frank

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


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



Re: [us...@httpd] Logs: two different time zone?

2009-03-06 Thread Jean-Yves Avenard
Hi..


2009/3/7 Eric Covener 

> mod_php setting "TZ" environment variable?
>
>
that was it !!!

thank you!


Re: [us...@httpd] help with mod_proxy_html, trouble rewriting javascript content

2009-03-06 Thread Florian S.
Hi,

I'm not a pro, but my way would be patching/editing mod_proxy_html.c for
myself:

Searching for 'text/html' would lead you to line 1024, where an error
message is set for a content type not being html or xhtml+xml. If a
message is set, it will end up processing by ap_remove_output_filter
some lines below (I dare interpret it that way).
Adding the desired content-type in the if statement could resolve your
problem.

Hope, that may help,
Florian


Am Freitag, den 06.03.2009, 17:29 -0500 schrieb Brian Mearns:
> On Fri, Mar 6, 2009 at 5:02 PM, Flowering Weeds
>  wrote:
> >
> >>
> >> That was not the question. But when you ask...
> >
> > Hey thanks for the answer.
> >
> >> - The apache has a SUN Access Manager plugin (not supported on IIS7)
> >
> > I don't use this but since one is using IIS 7 I looked at
> >
> > http://docs.sun.com/app/docs/doc/819-4669/adrab?a=view
> >
> > How Access Manager Works
> >
> > And since I don't use this (I could be wrong)
> > but a lot of this is all in http.sys itself. I'm
> > sure there is much more to this Access Manager!
> >
> > But for certain users for certain access and etc.
> > can be done for https.sys aware products.
> >
> > When one is not busy, (and I know we all never are not busy)
> > perhaps take a look at setting up http.sys for certain
> > users only access (databases, web services, etc.)
> >
> > Http.sys is not just for IIS7!
> > It is for any Windows HTTP usage.
> > A lot of products use http.sys.
> > ASF can use http.sys too.
> >
> >> - The apache is running mod_security. Is there a equivalent om IIS?
> >
> > Not needed but perhaps look up URLScan.
> >
> > Using Windows PowerShell yet?
> >
> > Yep change is tough on all of us!
> 
> Enough with http.sys, already! If you think MS offers better solutions
> than Apache, then by all means, use them! But this is the *apache*
> user's list. I've never even seen your name on this list before the
> past two days, and so far every message you've posted has been about
> http.sys or .NET or IIS. It seems like the only reason you signed up
> for this list in the first place is to evangelize over the great and
> powerful Microsoft. If you have nothing apache related to actually
> contribute to this community, then please just head back to redmond
> and leave us to our own.
> 
> Thank you,
> -Brian
> 


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