Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-08-14, 03:03 PM   #1
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
PHP Static?

Ok I read here the other day there is a way to pay PHP pages look static to SE, can anyone point in a direction as to how?
Thanks
juggernaut is offline   Reply With Quote
Old 2005-08-14, 05:09 PM   #2
Lemmy
You can now put whatever you want in this space :)
 
Lemmy's Avatar
 
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
I think this is what you need.

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
__________________
BUY MY PORNSITES!
Lemmy is offline   Reply With Quote
Old 2005-08-14, 05:13 PM   #3
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Cool thank you.
juggernaut is offline   Reply With Quote
Old 2005-08-14, 08:15 PM   #4
Halfdeck
You can now put whatever you want in this space :)
 
Halfdeck's Avatar
 
Join Date: Oct 2004
Location: New Haven, CT
Posts: 985
Send a message via ICQ to Halfdeck
In case your still wondering, I insert this into my .htaccess file:

# Enable PHP in HTML files

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

EDIT: Oops, looks like I jumped the gun. I guess you're wondering how to make index.php?pxd=2300&... look like /2300/index.html.

For that, I use something like this:

RewriteEngine on
RewriteRule ^([0-9a-z]*)/([0-9a-z]*)/$ /xxx.php?xid=$1&code=$2 [L]
__________________
Success is going from failure to failure without a loss of enthusiasm.
Halfdeck is offline   Reply With Quote
Old 2005-08-14, 09:58 PM   #5
juggernaut
Registered User
 
juggernaut's Avatar
 
Join Date: Apr 2005
Location: Central Jersey! If I was rich and powerful I would dress as my avatar does.
Posts: 1,448
Send a message via Yahoo to juggernaut
Thanks Dude just what I needed.
juggernaut is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:46 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc