Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-14-2004, 03:13 PM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
mod rewrite question

how can i make the html files to execute php code to just one of my domains form my server?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 03:18 PM   #2
piker
Confirmed User
 
Join Date: Feb 2004
Posts: 597
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.
__________________
IcooCash - DVD Content for your TGP
Cheap FreeBSD Virtual Hosting
ICQ me at 605104 for Custom PHP/MySQL Programming
piker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 03:23 PM   #3
Mr.Fiction
Confirmed User
 
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
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
__________________
Don't be lazy, protect free speech: ACLU | Free Speech Coalition | EFF | IMPA
Mr.Fiction is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 03:29 PM   #4
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 03:31 PM   #5
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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 ?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 03:53 PM   #6
crescentx
Confirmed User
 
Join Date: Jun 2003
Posts: 317
In .htaccess should work if your server is configured properly.

-doug
crescentx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 05:26 PM   #7
Wilber
Confirmed User
 
Join Date: May 2001
Location: De,Oh,Lei
Posts: 1,295
Why not use server side includes or a *.js include?
Wilber is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2004, 05:52 PM   #8
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
i think it's < p h p i n c l u d e="" >

not sure though
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.