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-09-2005, 11:37 AM   #1
Lester
Confirmed User
 
Join Date: Sep 2003
Location: Chicago
Posts: 468
PHP question

Can I map .htm or .html pages to parse php code????
it would be a .conf issue right???


I'm doing something for a friend on their "virtual account" and they need to have a bunch of pages renamed .php to achieve what they want....and then of course the links need to be chased down.....


arghhhhhh
__________________
I have no sig...sigh
Lester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 11:41 AM   #2
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Yup, it's possible... just add .htm and .html to your php line in your http.conf file.

AddType application/x-httpd-php .htm .html .php

Last edited by StuartD; 03-09-2005 at 11:42 AM..
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 11:48 AM   #3
budz
Disruptive Innovator
 
budz's Avatar
 
Industry Role:
Join Date: Sep 2003
Location: Vegas
Posts: 4,230
I think you can add that line to your htaccess also
__________________
C:\Code\
C:\Code\Run\
budz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 11:50 AM   #4
Lester
Confirmed User
 
Join Date: Sep 2003
Location: Chicago
Posts: 468
That's what I figured.....

can't help this guy out wth his stuff
but now I know...
__________________
I have no sig...sigh
Lester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 11:52 AM   #5
Lester
Confirmed User
 
Join Date: Sep 2003
Location: Chicago
Posts: 468
Is adding something to htaccess an option???

For the htaccess route would work I'd have to place a htaccess file in the "non-members" public area right??
__________________
I have no sig...sigh
Lester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 12:25 PM   #6
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
hey lester,

That is an option just look for the AllowOverride directive in httpd.conf and set it accordingly.

AllowOverride controls what directives may be placed in .htaccess files. It can be 'All', 'None', or any combination of the keywords.

good luck
__________________
subarus.

Last edited by calmlikeabomb; 03-09-2005 at 12:26 PM..
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 12:27 PM   #7
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Add this to your .htaccess

Quote:
AddType application/x-httpd-php .html
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-09-2005, 04:27 PM   #8
Lester
Confirmed User
 
Join Date: Sep 2003
Location: Chicago
Posts: 468
Thanks for the tips....................
__________________
I have no sig...sigh
Lester 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.