mapigniter2 icon indicating copy to clipboard operation
mapigniter2 copied to clipboard

missing "public"-folder files

Open gisaalter opened this issue 8 years ago • 2 comments

I have used this file https://sourceforge.net/projects/mapigniter2/files/mapigniter2_0.2.1_all.deb to do a fresh install of Mapignter2 on Ubuntu14.04. Installation runs fine, however when trying to access the demo pages in the public folder some files seems to be missing. I can't access auth pages nor does the demo map show up...

My public mapignter2 www folder looks like this

mapgigniter2 public storage storage.dist robots.txt index.php favicon.ico assets

gisaalter avatar May 23 '16 07:05 gisaalter

Hello!

Thank you for trying the .deb package! :)

I tried now to reproduce your issue but here it seems all fine. I tested in Ubuntu 14.04 with Apache 2.4. After installing you will want to open the address http://localhost/mapigniter2/public/

Please tell me whats your environment? Did you run dpkg with superuser privileges?

Cheers

taviroquai avatar May 23 '16 17:05 taviroquai

@gisaalter

I could reproduce your problem. It's about apache URL Rewrite.

MapIgniter2 is based on Laravel 5 which those URI routes make use of Web Server URL rewrite. If you are using Apache2, add the following configuration to default virtual host 000-default.conf

<Directory /var/www/html>
    AllowOverride All
</Directory>

Then enable apache rewrite module with: $ a2enmod rewrite

... and restart webserver.

taviroquai avatar Sep 15 '16 12:09 taviroquai