PHP files with NO extension - How?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
matc
-


Joined: 27 Sep 2006
Posts: 8

PostPosted: Wed Sep 27, 2006 5:58 am    Post subject: PHP files with NO extension - How? Reply with quote

I just started using abyss today, I'm already in love. Coming from apache, I am a bit frustrated that you cannot use .htaccess though.

I am wanting to know how to make abyss execute php files with no extention (instead of "page.php" its "page"). In apache, this was done with the following code added into .htaccess

Code:
<Files ~ "^[^\.]+$">
SetHandler application/x-httpd-php
</Files>


Basically it says that if there is no ending to a file, it treats that file as a php file. Is this possible with abyss? I have tried adding a blank php mime type, but that wasen't allowed.

Help is appreciated!
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Sep 27, 2006 11:50 am    Post subject: Reply with quote

Hi matc,

Apache seems to only follow this MIME Type because it is the way it checks for
PHP files. Abyss Web Server looks at a pattern like "/*.php" to see if it should
execute the file as a CGI application.

Infact, all PHP files should be checked by their extension.

I know why you need this though. The next version of Abyss Web Server will
include "URL Rewriting" from what we were told. You can use this new feature
to create these "Search Engine" friendly pages.

Sincerely, Josh (TRUSTAbyss)
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB phpBB Group