Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

having trouble with apache 2.0 and handlers

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Apache 2.0 -- Trouble with Virtual hosts + SSL - I'm having a hard time making HTTPS work on a RedHat 9 server, running apache I'm talking about an *actual* server (and not an exercise I'm doing on my home machine). I got a GeoTrust but there simply is no way that I can make..

Apache bug? - Hello, I'm using Apache 2.0.47 and PHP 4.3.3. The problem is, the apache server quits when trying to post data (some long text) with a webform. The error message in the apache logs is: child process exited with status 128 -- - and..

Can Apache 2.0.40 cause this??? - We've just migrated from iPlanet to apache 2.0.40. All our cgi's are perl 5.8.0. Our cgi's take the users' request, send a string to one of several servers, take the response, parse it and generate dynamic html output. This has worked..

Apache is better than IIS for Win XP Pro? - Hi folks, I was wondering if Apache is better than IIS. In addition, a book I have MySQL first, then Apache and then PHP. Is this an order you TIA, Doug

apache 'n' xml-rpc - hi I would want to know as he configure Xml-Rpc server on apache.
Next:  Problem to redirect  
Author Message
user2494

External


Since: Sep 29, 2003
Posts: 2



(Msg. 1) Posted: Mon Sep 29, 2003 4:39 pm
Post subject: having trouble with apache 2.0 and handlers
Archived from groups: alt>apache>configuration (more info?)

I was using apache 1.3.xx a while. Then I desided to upgrade
to apache 2.0.xx.

but I have a problem with handlers!

My configuration was like this

..htaccess
   >>>>>>>>>>>>>>
DirectoryIndex index.html
SetHANDLER tpl-file
ACTION tpl-file /cgi-bin/handler/someHandler.cgi
<<<<<<<<<<<<<<<<

So I every request to this directory, where the .htacces
lies, was handled by someHandler.

Example

Docroot /var/www/html
I saved .htacces in /var/www/html/home/ and created a
index.html.
so if I requested <a style='text-decoration: underline;' href="http://localhost/home/test/1/2," target="_blank">http://localhost/home/test/1/2,</a> the cgi
script got invoked with /home/test/1/2.

With apache 2.0 and the same config I allways get a recource
not found (404)!

but if i request <a style='text-decoration: underline;' href="http://localhost/home/index.html/test/1/2" target="_blank">http://localhost/home/index.html/test/1/2</a>
it works. But I would like the old request paths and not
these ugy index.html in it. Do I have to proxy the request
with something like that:

RewriteRule ^/home/(\.)* /home/index.html/$1 [P,L]

Any suggestions how this can be solved?

cu Philipp
--
XML is the ASCII for the new millenium.
(Cocoon documentation)
--------------------------------------<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: having trouble with apache 2.0 and handlers 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]