GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Apache question (https://gfy.com/showthread.php?t=106262)

Veiga 02-09-2003 12:25 PM

Apache question
 
Is there a way to have apache parsing php or perl code without having the filename extension on the conf. files?

Mark 02-09-2003 12:32 PM

you could try asking on
xxxtech.com which is as its name suggests a tech specific forum and so populated by geeks that know all sorts of weird shit.. ;)

Veiga 02-09-2003 12:35 PM

here i get all kinds of geeks.. :)

damn..i need to register.

can't i put a guest topic? :Graucho

FATPad 02-09-2003 12:36 PM

Put it in an htaccess file for the directories you need the files parsed in.

Veiga 02-09-2003 12:40 PM

Like this:
AddType application/x-httpd-php html htm
?

FATPad 02-09-2003 12:47 PM

Yep. Just make sure you have the dot in front of the file extension. I think that's necessary, although I could be wrong. heh.

I think this is for parsing files for php:
AddHandler application/x-httpd-php .html .htm

and this is for parsing html files for SSI calls:
AddHandler server-parsed .html

Veiga 02-09-2003 12:48 PM

Ok, got it!
Thank you very much.


All times are GMT -7. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123