httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Saunders <...@saunders.yourideal.co.uk>
Subject [users@httpd] Handling files without extensions
Date Tue, 02 Mar 2004 10:46:43 GMT
Hi,

I'm having a problem trying to used cleaned URLs, i.e. no filename 
extensions.

My index[.html] file contains a <form action="do-something"> HTML entry
where "do-something" is a script containing HTML and Mason embedded perl.

My problem is that unless I add a ".html" extension, the file is not 
processed by Mason and is represented as type text/plain - the apache 
DefaultType, despite the DocumentRoot (and subdirectories) being handled 
by Mason.

Is there a way in which I can get these files, without a filename 
extension, to be "processed" appropriately?

Some files will be Mason (like those called from with a form action), 
others will be images, etc... but I would ideally like to use cleaned 
URLs. Do I need to use something like mime_magic, if so, how? Or, is 
there something simpler that I can use?

TIA

Rob

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message