Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Htaccess issue #46

Open
ThraaxSession opened this issue Jul 11, 2017 · 1 comment
Open

Htaccess issue #46

ThraaxSession opened this issue Jul 11, 2017 · 1 comment

Comments

@ThraaxSession
Copy link

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?

@jamgregory
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants