HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Server Error 500 (http://www.howtoforge.com/forums/showthread.php?t=17490)

devilslayer 19th November 2007 23:37

Server Error 500
 
500 Server Error

--------------------------------------------------------------------------------
Hello,

I am getting a 500 server error when I try to access any folder / file on my website except the index file that was created when I setup ISPConfig.

I have the website:

www.mydomain.com

I access ISP config with http://www.mydomain.com:81

When I go to www.mydomain.com I see the index.html file that was installed by ISPConfig:

Welcome to www.mydomain.com!
-----------------------------------------------------------------------
This is the standard index of your website. You can easily delete it or replace it with another file. This is the index.html file in the web directory.
For questions or problems please contact the server administrator.
--------------------------------------------------------------------------
powered by ISPConfig

I am trying to install a PHP community script and have uploaded it into the above domain.

/web/dolphin/

When I try to access the install folder I get an error:

500 error - Internal Server Error!

I have tried to access other files in this directory and I get the same error. The only file I seem to be able to access is the index.html holding page.

You can install a website on the same domain that ISP config is on?

www.mydomain.com - Website
www.mydomain.com:81 - ISPConfig control panel.

What am I doing wrong? My folder structure is below:

web
- dolphin (script i'm trying to install)
- stats
- error
- index.html (default index.html file)

Thanks for your help.

edge 19th November 2007 23:43

It's probably a .htaccess file causing this 500 error.
As test, remove or rename the .htaccess file, and see if you still get the error.

If not, you will need to look at you .htaccess, and see what is causing this error.

devilslayer 19th November 2007 23:59

There isn't a .htaccess file in that directory. Have you any other suggestions?

till 20th November 2007 10:13

Please post the error message that you get in the error.log of the website.

devilslayer 20th November 2007 21:30

Quote:

Originally Posted by till
Please post the error message that you get in the error.log of the website.

Till excuse my ignorance, but where do I find this error.log file?

Is it within the website?
Is it accessed via ISPConfig Control Panel
Do I have to login to server using ssh?

devilslayer 20th November 2007 21:37

Till,

I take it that it is this file you are on about. Located in the log directory of the website?

Code:

[Mon Nov 19 12:18:49 2007] [error] [client 66.249.73.40] File does not exist: /var/www/web1/web/robots.txt
[Mon Nov 19 13:11:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:12:26 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:12:51 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:14:29 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:17:46 2007] [error] [client 82.71.62.106] File does not exist: /var/www/web1/web/web
[Mon Nov 19 13:17:53 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:08 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:32 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:34:37 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:35:02 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:35:06 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:44:24 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 15:03:11 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 15:03:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here

The .htaccess file within the dolphion directory contains the following:
Quote:

php_flag register_globals Off
<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
</IfModule>

devilslayer 20th November 2007 21:45

Update to problem
 
I have managed to start the installation of the Dolphin script. I renamed the .htaccess file.

Is this file important. I know that it is used to set directives in apache, but other than that I'm fairly clueless about it.

till 21st November 2007 11:16

You can try to copy the directives from the .htaccess file to the apache directives field of the website.


All times are GMT +2. The time now is 03:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.