TechnicPack / TechnicSolder

PHP web app that brings differential updates to the Technic Launcher and Technic Platform
https://docs.solder.io/
Other
169 stars 167 forks source link

.htaccess rewrite to wrong url #481

Closed CrazyCodeUK closed 9 years ago

CrazyCodeUK commented 9 years ago

if sodler is put as a subfolder of the host eg http://hostname.tld/solder/ when trying to access hostname.tld/solder/api/ you get redirect to hostname.tld/api

RewriteRule ^(.*)/$ /$1 [L,R=301]

rewrites the url incorrectly and is not needed in the .htaccess file as solder/api/ works for interaction with the technic platform.

I have tested this with a now fully function solder installation.

GenPage commented 9 years ago

Solder is not intended to be setup as a subfolder of a host, but rather a subdomain with its own virtual host.