MapBBCode / share.mapbbcode.org

MapBBCode Share
http://share.mapbbcode.org
57 stars 12 forks source link

Running it from a subdirectory #25

Closed nodiscc closed 10 years ago

nodiscc commented 10 years ago

I've read the requirement in README.md for the application to be at the server's document root.

I've got it working in the maps/ subdirectory of my apache server by editing .htaccess, line 4, basically just replaced with RewriteRule /maps/ index.php [L]. Is that all what's required? It works fine so far.

Edit: maps/save and maps/export do not seem to work (returns a 404 error)

Zverik commented 10 years ago

Do you use the new 4-line .htaccess file? It works from a subdirectory without modifications on my machine.

nodiscc commented 10 years ago

Great. Just tried with the new .htaccess. save and export work fine after setting up the db.

Maybe the requirement in README.md should be removed?

Zverik commented 10 years ago

You're right, I've just did.