![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2004
Location: Greater Washington DC
Posts: 1,435
|
Quick htaccess question
say I have a script upload files to domain.com/sub/1.jpg how could I allow a direct request to domain.com/1.jpg to work without redirecting?
__________________
Top virtual hosts for under 10$? www.hostmylife.com | icq 50663030 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
this should work
Code:
Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule !^sub(/.*)?$ /sub%{REQUEST_URI} [QSA,L]
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Dec 2009
Posts: 997
|
thats cool and hot grrrrrrrrrrrrrrrrr
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2004
Location: Greater Washington DC
Posts: 1,435
|
You're the man!
__________________
Top virtual hosts for under 10$? www.hostmylife.com | icq 50663030 |
![]() |
![]() ![]() ![]() ![]() ![]() |