top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Config Apache to pass all requests to fastCGI process

+1 vote
306 views

I've got a web-app written in Orbit/Kepler (the Lua framework) and I'm wanting my visible URL paths free of file extensions or un-necessary path elements. I'd like to expose just a nice, clean restful-like api.
From the docs, it seems the only way to tell Apache to dispatch handling to wsapi-fcgi is via the "add handler" construct. And that requires me to specify EITHER a static path component, or the individual file extensions (i.e. .lua) to be handled.
Is there any way to tell Apache to pass ALL requests "without" a specific file extension to Lua and let the remaining (image, js, css file requests) be the exception??

posted Aug 5, 2013 by Sonu Jindal

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
How about SetHandler in

Similar Questions
+3 votes

I have a requirement where the tomcat load has to be managed by tuning the following parameters.

--> Limit the number of user requests at Apache level that are routed to Tomcat server.
--> Track the number of processed requests and the requests that are queued at Apache level.

Any suggestions?

+2 votes

I use Apache server on a Arch Linux machine. I have a big problem with the delete requests. Apache refuse all of them with the 403 response status code.

I do not understand why. Please help me?

+1 vote

I have IIS and Apache both running on my server. Apache is on 8080. I am having some DNS mapping issues.

I have a virtual host entry as follows:

  ServerName something.domain.com
  DocumentRoot "D:/www/public_html"

    Options Indexes FollowSymLinks
    AllowOverride All

      Order allow,deny                          
      Allow from all

   = 2.3>
     Require all granted

Is there something wrong with this? because when I browse to something.domain.com, it gives me a 404 error. I can't even browse it as something.domain.com:8080. If I map the same domain on IIS it works fine and lets me browse to something.domain.com

I am able to browse to my Apache site via localhost:8080 but not with something.domain.com. Can anyone help me.

My Host file has the following entry

127.0.0.1      TestDevServer

Please help me map my domain (sub domain in this case) to point at the location of my site.

0 votes

Im trying to configure an Ubuntu server with 4 Public IPs to display "This is a shared IP site" if any of the IPs are accessed directly. The server has IP-based virtual-hosts configured on the different IPs. So far, Im not having any success with it.

+2 votes

I want to run three virtual hosts on separate IP addresses for notification messages (the reason is due to how the network kit does the redirection of traffic)

On each of these virtual hosts I want a request for any URI to be sent to the document root default (/index.html or just /)

What the best way to achieve this per virtual host?

...