Closed KookosPahkina closed 8 years ago
What webserver are you running?
Nothing.. i guess that might be the problem then lol
actually i have Apache
Maybe a links problem?.
I have it in a dedicated server using ISPConfig 3 and is working fine.
I assume you have validated that the files are there?
yes
Hey @KookosPahkina
Sorry for the delay! Can you show me the web interface? I would love to take a look by myself. I bet the console will throw some precious errors that should indicate whats going south.
Let me know!
@frdmn http://ovh.hydrox.co/banmanager/ that's the address.. if that is what you meant
Can you give us the output of the following terminal command:
$ ls -la /var/www/html/banmanager/
drwxrwxrwx 8 root root 4096 Jan 2 16:15 . drwxr-xr-x 6 root root 4096 Jan 2 16:22 .. drwxrwxrwx 2 root root 4096 Jan 2 16:13 actions drwxrwxrwx 2 root root 4096 Jan 2 16:13 ajax drwxrwxrwx 6 root root 4096 Jan 2 16:13 assets -rwxrwxrwx 1 root root 671 Jan 2 16:13 bower.json drwxrwxrwx 3 root root 4096 Jan 2 16:22 cache -rwxrwxrwx 1 root root 1113 Jan 2 16:13 CONTRIBUTING.md -rwxrwxrwx 1 root root 172 Jan 2 16:13 .dashbrew -rwxrwxrwx 1 root root 1881 Jan 2 16:13 footer.php drwxrwxrwx 8 root root 4096 Jan 2 16:13 .git -rwxrwxrwx 1 root root 12 Jan 2 16:13 .gitattributes -rwxrwxrwx 1 root root 407 Jan 2 16:13 .gitignore -rwxrwxrwx 1 root root 7624 Jan 2 16:13 Gruntfile.js -rwxrwxrwx 1 root root 3649 Jan 2 16:13 header.php -rwxrwxrwx 1 root root 26468 Jan 2 16:13 index.php -rwxrwxrwx 1 root root 1154 Jan 2 16:13 .jscsrc -rwxrwxrwx 1 root root 22 Jan 2 16:13 .jshintignore -rwxrwxrwx 1 root root 628 Jan 2 16:13 .jshintrc drwxrwxrwx 2 root root 4096 Jan 2 16:13 l10n -rwxrwxrwx 1 root root 11190 Jan 2 16:13 LICENSE -rwxrwxrwx 1 root root 1315 Jan 2 16:13 package.json -rwxrwxrwx 1 root root 3962 Jan 2 16:13 README.md -rwxrwxrwx 1 root root 3553 Jan 2 16:16 settings.php -rwxrwxrwx 1 root root 3536 Jan 2 16:13 settingsRename.php -rwxrwxrwx 1 root root 6 Jan 2 16:13 VERSION
Do you know if you've SELinux enabled? Please give us the output of the following commands:
$ ls -lZ /var/www/html/banmanager/
$ sestatus -v
Additionally, check your syslog for any relevant error messages.
https://gyazo.com/b447ace9cb34e48e3cb122afd86949e5 SELinux is disabled
For the giggles, try to get rid of everything inside the "banmanager" folder, create a new "index.php" file with the following content:
<?php phpinfo(); ?>
Save it and try to execute it in your browser. Does that work?
Von meinem iPhone gesendet
Am 04.01.2016 um 17:41 schrieb KookosPahkina notifications@github.com:
https://gyazo.com/b447ace9cb34e48e3cb122afd86949e5 SELinux is disabled
— Reply to this email directly or view it on GitHub.
@frdmn yes it works
Now redownload the archive from the GitHub releases page and extract it to your document root. Same issue again?
Von meinem iPhone gesendet
Am 04.01.2016 um 18:06 schrieb KookosPahkina notifications@github.com:
@frdmn yes it works
— Reply to this email directly or view it on GitHub.
@frdmn Yes the same problem again. If you mean with the document root /var/www/html/banmanager
May I see your webserver configuration/virtual host?
@frdmn It's just pretty much default Apache config if that's what you are looking for. http://pastebin.com/suuuS5m6 (will expire in 24hrs)
@KookosPahkina Hmm, don't see any special directives which could result in such a weird behaviour.
Did you check your error logs and sys logs for any further messages?
@frdmn AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive
There we go! Finally the root of our problem. I'll research and let you know how to fix this :+1:
Just found this relevant StackOverflow answer: http://stackoverflow.com/a/25080393/2940412
Can you try adding DirectoryIndex disabled
above line 145?
@frdmn You don't have permission to access /banmanager/ on this server. after i did that
Probably because everything is owned by root and not by the user that actually runs the web server.
$ chmod 777 /var/www/html/banmanager
yeah that didn't help at all
Then you need to fix this permissions issue by your own. This issue is definitely not related to the project, rather it is because of an misconfigured web server.
I can't help you remotely like this without looking on to the machine that is causing trouble. Also, I don't really want to spam our watchers with tons chitchat mail notifications.
Last option I could offer is that you join IRC and we can try together to sort this out on a proper chat platform.
Fixed via IRC.
The problem was a .htaccess
inside /var/www/html
.
So umm i installed my banmanger to /var/www/html/banmanager so i go to the address xxx.xxx.xx.xx/banmanager it works just fine, when i try to go into the home tab or something else it just keeps saying "The requested URL /index.php was not found on this server." same for admin panel etc, so how am i supposed to install this? lol.. followed every single step on the installion guide. I am using Centos 7 EDIT: i was using an older version, and i tried with the newest version. still the same problem except the message changed to this now. The requested URL /banmanager/index.php was not found on this server.