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 Mark Forums Read
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 12-07-2003, 04:26 AM   #1
biskoppen
Confirmed User
 
Join Date: Mar 2003
Location: Very small penis
Posts: 5,809
Who knows about HTACCESS

I need a piece of code that makes my server display the content in :

http://www.myserver.com/access/

if this URL is loaded

http://www.myserver.com/access/[any_word]/

When loaded the URL in the adressbar still needs to be http://www.myserver.com/access/[any_word]/

Anyone?
__________________
Submit my videos to make bank, tons of 5 minute videos offered right here
biskoppen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 04:30 AM   #2
{fusion}
Confirmed User
 
Join Date: Sep 2003
Posts: 1,650
ErrorDocument 404 http://www.myserver.com/access/

as anyword would create a 404 error this will then redirect to the root of that folder
{fusion} is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 04:30 AM   #3
- Jesus Christ -
Confirmed User
 
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
If you have mod_rewite on this MIGHT work, I havent tryed it myself.


RewriteEngine On
RewriteRule ^access/([/:|\s\-\'{}().&_a-zA-Z0-9+=]*) http://www.myserver.com/access/


put that in your ROOT dir (ie http://www.myserver.com/.htaccess)
__________________

Amen
- Jesus Christ - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 05:28 AM   #4
biskoppen
Confirmed User
 
Join Date: Mar 2003
Location: Very small penis
Posts: 5,809
I doesnt work, my server goes 500 with it
__________________
Submit my videos to make bank, tons of 5 minute videos offered right here
biskoppen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 05:52 AM   #5
- Jesus Christ -
Confirmed User
 
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
hmmmm yea I forgot you cant use full URLS in a rewrite.

try these

RewriteRule ^access/([/:|\s\-'{}().&_a-zA-Z0-9+=]*) /access/
RewriteRule ^access/([/:|\s\-'{}().&_a-zA-Z0-9+=]*)/ /access/

or

RewriteRule /access/([/:|\s\-'{}().&_a-zA-Z0-9+=]*) /access/
RewriteRule /access/([/:|\s\-'{}().&_a-zA-Z0-9+=]*)/ /access/



Im not that good with rewrite rules.
__________________

Amen
- Jesus Christ - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 08:54 AM   #6
biskoppen
Confirmed User
 
Join Date: Mar 2003
Location: Very small penis
Posts: 5,809
No luck

But thanks for trying
__________________
Submit my videos to make bank, tons of 5 minute videos offered right here
biskoppen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2003, 12:04 PM   #7
Broda
Confirmed User
 
Join Date: Feb 2003
Location: CheapAssDesigns.com
Posts: 1,874
http://www.engelschall.com/pw/apache/rewriteguide/

very simple

use the "Dynamic Mirror" pass-thru option
__________________
CheapAssDesigns.com - when you need quality designs at affordable prices.
icq: 230-729-205
info |at| cheap ass designs dot com
Broda 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
Thread Tools



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.