1
Lualah
Internal Server Error
  • 2005/3/31 9:47

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, Lualah@hotmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.0.52 (Win32) PHP/4.3.10 Server at Lualah.info Port 80

why that, what is wrong with .htaccess.


Files in .htaccess are
# -FrontPage-

RewriteEngine on

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

RewriteRule ^topic([0-9]+).html$ loadpage.php [L]

RewriteRule ^article([0-9]+).html$ loadpage.php [L]

RewriteRule ^articles.html$ loadpage.php [L]

RewriteRule ^user([0-9]+).html$ loadpage.php [L]

RewriteRule ^submit.html$ loadpage.php [L]

RewriteRule ^archive.html$ loadpage.php [L]

RewriteRule ^sections.html$ loadpage.php [L]

RewriteRule ^partners.html$ loadpage.php [L]

RewriteRule ^$ loadpage.php [L]

2
m0nty
Re: Internal Server Error
  • 2005/3/31 9:56

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


are you sure that your host allows .htaccess & modrewrite?

3
Lualah
Re: Internal Server Error
  • 2005/3/31 11:00

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


are you sure that your host allows .htaccess & modrewrite?

i am sure for .htaccess but i don't know for modrewrite.

How i can see for modrewrite

thnx

4
m0nty
Re: Internal Server Error
  • 2005/3/31 11:21

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


create a php file..

add this to the file >


phpinfo();

?>


now save the file as phpinfo.php and upload to your server..

then call it from your browser ie. http://www.yourdomain.com/phpinfo.php

then look down the list for the APACHE section and the look at the loaded modules section, look thru the list of loaded modules and see if you can find the module : mod_rewrite

if it's not there, you will have to contact your host to see if they are willing to enable it..

5
Lualah
Re: Internal Server Error
  • 2005/3/31 11:23

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


ok thnx
i look in my test machine and i don't have it and my host doesn't have it too.

What i must do in my computer that i will have mod_rewrite.

Must i download it and enable it in apache conf.
Is this correct site: http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

What i must do:
Download it and cop it to modules section and enable in apache conf. Must i also add some functions or not?

I will contact my host if he will enable it.

thnx

6
m0nty
Re: Internal Server Error
  • 2005/3/31 11:41

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


it comes with apache so you should already have it, it'll just need enabling.. you configure it in httpd.conf

uncomment the line: LoadModule rewrite_module modules/mod_rewrite.so

uncomment : ClearModuleList

& then make sure AddModule mod_rewrite.c is uncommented too..

by uncommented i mean remove the # from the beginning of the line..

once done, restart apache and then check that it's installed by calling the phpinfo script again..

7
Lualah
Re: Internal Server Error
  • 2005/3/31 17:59

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


uncomment : ClearModuleList

& then make sure AddModule mod_rewrite.c is uncommented too.

i don't have that in httpd.conf

8
m0nty
Re: Internal Server Error
  • 2005/3/31 18:15

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


sorry i should have read your 1st post more clearly..

AddModule mod_rewrite.c isn't used in Apache 2+

these are all the options you should need :)

LoadModule rewrite_module modules/mod_rewrite.so

AllowOverride FileInfo Options or
AllowOverride All

Options All

it's your choice whether you want to choose allowoverride all or fileinfo.. to be safe about it working i'd try AllowOverride All to start with..

9
Lualah
Re: Internal Server Error
  • 2005/3/31 18:24

  • Lualah

  • Just popping in

  • Posts: 30

  • Since: 2005/3/6 2


now works. Thnx

I want to use ShortURLs_0.2_for_Xoops. When i upload it to server i get blank page like that redirect doesn't work.

DO you know why. want to use redirect becouse of this i need mod_rewrite.

Thnx for mod_rewrite again.

10
m0nty
Re: Internal Server Error
  • 2005/3/31 18:38

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


not entirely sure as i haven't used it..

i did a bit of scouting on apache site and another forum and they mention the possibility of problems if u setup php to run as CGI and they recommend installing it as a module & not seperately via the php installer... but i'm a newbie to server configs etc so i'm not sure i can help you in that respect..

Login

Who's Online

319 user(s) are online (238 user(s) are browsing Support Forums)


Members: 0


Guests: 319


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits