ginatra icon indicating copy to clipboard operation
ginatra copied to clipboard

Htaccess issue

Open ThraaxSession opened this issue 8 years ago • 1 comments

Hi,

I'm not sure this project is still up... But I've got a little issue with my Htaccess file.

The Ginatra server is running on my web hoster localhost:64881 by running the Ginatra gem. So I try a redirect from my webspace to the server.

The Htaccess file looks like this:

RewriteEngine On
RewriteBase /
RewriteRule (.*) http://localhost:64881/$1 [P,L]

But when I open the site it shows only: Not Found: /

Do you know, what I do wrong?

ThraaxSession avatar Jul 11 '17 07:07 ThraaxSession

@GinoHereIam - have you tried using ProxyPass/ProxyPassReverse instead as an initial test? https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#examples

It might be that you haven't enabled the relevant proxy modules, so might also be worth checking your Apache logs.

jamgregory avatar Jul 11 '17 10:07 jamgregory