MyBB Community Forums

Full Version: From htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My htaccess file is empty. If i add "DirectoryIndex portal.php index.php" i get 500 internal server error:

Internal Server Error

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

Please contact the server administrator, webmaster@domain 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.
try this
<IfModule mod_rewrite.c>
	RewriteEngine on
        DirectoryIndex /portal.php /index.php
</IfModule>
(2013-07-26, 07:19 PM).m. Wrote: [ -> ]try this
<IfModule mod_rewrite.c>
	RewriteEngine on
        DirectoryIndex /portal.php /index.php
</IfModule>

Still the same Sad
^ you have to check server's error log or ask your web host for the guidance
and you can try this plugin for the portal redirect --> Portal Redirect for 1.6
where is error log?
^ server error log should be available at web host panel (search with CTRL + F for error or log)
There are the last errors in log:


[09-Jun-2013 18:19:16 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_DNUMBER in /home/domain/public_html/hosting.php on line 9
[17-Jun-2013 03:28:57 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_STRING in /home/domain/public_html/inc/functions_online.php on line 669
[17-Jun-2013 03:28:58 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_STRING in /home/domain/public_html/inc/functions_online.php on line 669
[17-Jun-2013 03:28:59 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_STRING in /home/domain/public_html/inc/functions_online.php on line 669
[17-Jun-2013 03:30:49 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_VARIABLE in /home/domain/public_html/inc/functions_online.php on line 669
[17-Jun-2013 03:30:50 Europe/Helsinki] PHP Parse error:  syntax error, unexpected T_VARIABLE in /home/domain/public_html/inc/functions_online.php on line 669
Why can't i use any htaccess? Before i changed the web-host, i used a .htaccess file. Now i can't any more. What can i do?
you'd have to ask your host, not us
(2013-07-29, 04:14 PM)frostschutz Wrote: [ -> ]you'd have to ask your host, not us

Alright. Thanx.
Pages: 1 2