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)
-   -   .htaccess / PHP question (https://gfy.com/showthread.php?t=587951)

Luc 03-17-2006 06:49 PM

.htaccess / PHP question
 
Hi guys.

Say I have a directory, http://www.something.com/go/some_url.htm

I'm wondering if there is any way to force all queries to that /go/ folder to go through index.php which generates the page dynamically. this way the user and se bot still think it's an .htm page but it's actually generated on the fly.

also, i'd need the paramaters (ex: some_url) when the index.php is called.

any easy way to do this with .htaccess?

thanks!
luc l.

Echo 03-18-2006 02:42 AM

add this to the main root of your htaccess

Code:

<Files go>
forcetype application/x-httpd-php
</files>

please rename your index.php to go (with no extension) , hit me up if you dont get it :thumbsup


All times are GMT -7. The time now is 06:58 PM.

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