Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
516 stars 157 forks source link

Internal Server Error #407

Closed lgdeysel1980 closed 6 years ago

lgdeysel1980 commented 6 years ago

Good day,

Followed the installation instructions. Ensured that all php modules were available. I checked my phpinfo for more details on what modules are installed. Since I couldn't see mod_rewrite, I did a test of it as well.

As you can see it's working, so my host has most probably got it's own mod_rewrite as it seems the SERVER API is on CGI/Fast CGI

I put the folder in my public_html folder. Added the Apache >V4 into my .htaccess file. The moment I do that I cannot access anything else on my site. Install index.php still gives Internal Server error.

After removing the added info in .htaccess everything seems to work again. Still install/index.php give Internal Server error.

Any ideas?

Ysurac commented 6 years ago

You should look at your log files to know the real error.

lgdeysel1980 commented 6 years ago

Well, I thought I was putting the .htacess info in the wrong place, so I tried on both places (first the one then the other) to see if maybe I was putting it in the wrong place. Here's the info from my server error log: /home/qrhjyzmj/public_html/flightairmap/.htaccess: DocumentRoot not allowed here /home/qrhjyzmj/public_html/.htaccess: DocumentRoot not allowed here

Ysurac commented 6 years ago

Should be in flightairmap directory, it's where it is by default. But there is no "DocumentRoot" settings in the .htaccess, you have .htaccess of the repository ?

lgdeysel1980 commented 6 years ago

Yes.

Nevermind. I think I figured it out. On the install you have adjustment to the webserver for Apache. I don't have access to make any changes to it except for via CPanel.

Sorry about the confusion. I'll have to remove this then. :(

Ysurac commented 6 years ago

webserver change are only needed in some case. I know this work on some CPanel VPS, but each administrator can configure it like he want, so no idea if it's your case.

lgdeysel1980 commented 6 years ago

I'm on a shared server so I don't get access to that side of the server. Thanks though!