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)
-   -   mod rewrite question (https://gfy.com/showthread.php?t=252352)

alex79 03-14-2004 03:13 PM

mod rewrite question
 
how can i make the html files to execute php code to just one of my domains form my server?

piker 03-14-2004 03:18 PM

Quote:

Originally posted by alex79
how can i make the html files to execute php code to just one of my domains form my server?
ok now ask your question in english please.

Mr.Fiction 03-14-2004 03:23 PM

Quote:

Originally posted by alex79
how can i make the html files to execute php code to just one of my domains form my server?
Are you saying you want .html files to execute as .php files?

AddType application/x-httpd-php .html

alex79 03-14-2004 03:29 PM

sorry for my english :)

i have a page xxx.html and i want run php code in this html page (i don't want to change the page extension)
i know that is a method to change the mor rewrite (or something like that) in the httpd.conf file but i want allow html file to execute php code just on one domain of mine ( not on all domains hosted on same server)..
is any other method to execute php code in html files? with .htacess for example?

hope u understand now

alex79 03-14-2004 03:31 PM

Quote:

Originally posted by Mr.Fiction


Are you saying you want .html files to execute as .php files?

yes.. that what i want

Quote:

Originally posted by Mr.Fiction

AddType application/x-httpd-php .html

where do i have to enter this line? in httpd.conf or in .htaccess ?

crescentx 03-14-2004 03:53 PM

In .htaccess should work if your server is configured properly.

-doug

Wilber 03-14-2004 05:26 PM

Why not use server side includes or a *.js include?

JD 03-14-2004 05:52 PM

i think it's < p h p i n c l u d e="" >

not sure though


All times are GMT -7. The time now is 03:12 PM.

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