hakaii

Topic: problem with .htaccess file on installation

Hi,

In trying to install jobberBase I have worked through several installation errors thanks to information in this forum, but now I seem to have hit a wall. Would appreciate any help please.

I'm getting an internal server error and according to my ISP apparently it's an issue with the .htaccess files. Here is my setup:

My jobberBase files are installed in a folder called /jobs
Apache version: 2.x
PHP version: 5.2.0

.htacess file in /jobs folder:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php 
RewriteEngine on
RewriteBase /jobs
Options +FollowSymlinks 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L] 
ErrorDocument 404 /page-unavailable/ 
<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

.htacess file in folder /jobs/admin:

RewriteEngine on
Options +FollowSymlinks
RewriteBase/jobs/admin

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php [L]

ErrorDocument 404 /page-unavailable/

Last edited by hakaii (2009-10-12 19:40:03)

navjotjsingh

Re: problem with .htaccess file on installation

Please try putting a # in front of these lines in your .htaccess files and then try:

Code:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php 
Options +FollowSymlinks  

Change these lines in both .htaccess files to

Code:

# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php 
# Options +FollowSymlinks  

pkab

Re: problem with .htaccess file on installation

I remove the first 2 lines of .htaccess at my subdomain called centrum and change from
RewriteBase /jobs to RewriteBase /centrum
the jobs board is working now.

however, the next problem is: I cannot acces my admin page it always said page unavailable. any clue?

thanks.

best regards,
Sur
http://petakonsepanakbangsa.org/centrum

Last edited by pkab (2009-10-13 04:40:14)

putypuruty

Re: problem with .htaccess file on installation

Hi.

Try putting RewriteBase /centrum/admin in the admin .htaccess fle.

hakaii

Re: problem with .htaccess file on installation

navjotjsingh wrote:

Please try putting a # in front of these lines in your .htaccess files and then try:

Code:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php 
Options +FollowSymlinks  

Change these lines in both .htaccess files to

Code:

# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php 
# Options +FollowSymlinks  

Ok, I did that, also for Options +FollowSymlinks  in the .htaccess file in the /admin folder and still get the Internal Server Error. Any other ideas what I could try? Thanks!

navjotjsingh

Re: problem with .htaccess file on installation

Did you try the putypuruty's last suggestion above?

hakaii

Re: problem with .htaccess file on installation

Yes, please see my .htaccess files at the top - I have RewriteBase in both

putypuruty

Re: problem with .htaccess file on installation

Sure, I see, but on top you have jobs instead of centrum. Did you try what I gave you?

hakaii

Re: problem with .htaccess file on installation

You are confusing me with the post from pkab. This guy just posted his question into my thread...

navjotjsingh

Re: problem with .htaccess file on installation

Oops...thanks for clarifying. Pls turn on error reporting in config.php and then report the error and also share your job board url if possible.

And have you checked http://www.jobberbase.com/wiki/ ?

hakaii

Re: problem with .htaccess file on installation

The error is:

"Internal Server Error

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

Please contact the server administrator, root 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."

Yes, I've checked the wiki and was able to solve my previous problems, but not this one.

jefrey1983

Re: problem with .htaccess file on installation

i have the same problem cannot access my admin, i can access the frontpage though