htaccess Elite

Hire htaccesselite professional

$25 non-refundable deposit for me to look at your request,
$175/hr if both parties agree to work request.

.htaccess tutorial


All times are UTC - 5 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: filename as php
PostPosted: Apr 22nd, '08, 17:42 

Joined: Apr 22nd, '08, 17:33
Posts: 1
Hi, Greetings !

I have just moved to a new company, and have transferd all my files accross. Have been updating all my scripts, and 99.9 are now working :)

I use to have a phpBB archive script working, when it was called it use to display the contents of my phpBB in a nice looking page.

To be able to use it, I had a file called "archive" (No .php) when called it use to run as a php file. To get that to work I needed to place a .htaccess file in the same location.

Code:
<files archive>
ForceType application/x-httpd-php
# AcceptPathInfo On # uncoment for apachie 2
</files>


so when I called the file "archive" it ran as a .php file ( i did uncomment the above line didnt work)

Code:
www.myplace.com/archive


On this new server, I just get an error 500 server problem

Contacted host, they dont know :)


Top
 Profile  
 
 Post subject: Re: filename as php
PostPosted: May 9th, '08, 18:39 

Joined: Feb 28th, '07, 11:16
Posts: 40
what does your apache error log say?

Is your host using php as a cgi? if so then try php-cgi instead of the application/x-httpd-php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB