SEO Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Scripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old November 7th, 2005, 05:25 PM
fuzzlepop's Avatar
fuzzlepop fuzzlepop is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Blackpool, UK
Posts: 316 fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 2 Days 12 h 44 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Send a message via MSN to fuzzlepop
mod_rewrite help nearly done

Ok...

I have this so far:

RewriteRule ^([0-9]+)(.+)$ http://www.boysfood.com/cgi-bin/file.cgi?$1 [L,NC]

and that lets me load http://www.boysfood.com/cgi-bin/file.cgi?vid.wmv

with this url http://www.boysfood.com/vid.wmv

But I want it like http://www.boysfood.com/videos/vid.wmv

Any help please.
thanks

Reply With Quote
  #2  
Old November 8th, 2005, 08:48 AM
manni's Avatar
manni manni is offline
aka: jadibones
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: /usr/bin/
Posts: 379 manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 16 h 22 m 32 sec
Reputation Power: 6
for http://www.boysfood.com/cgi-bin/file.cgi?vid.wmv,
is 'vid' the only thing that is going to change? or is 'file' going to change too?

RewriteRule videos/(.*)\.wmv$ /cgi-bin/file.cgi?$1.wmv
should work for
http://www.boysfood.com/videos/vid.wmv

if 'vid' and 'file' are going to be different every time, you'll need to add another variable.
__________________
SEOlogs
Search Engine Optimization
Tools & Money Making Tips

Reply With Quote
  #3  
Old November 8th, 2005, 09:36 AM
fuzzlepop's Avatar
fuzzlepop fuzzlepop is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Blackpool, UK
Posts: 316 fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 2 Days 12 h 44 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Send a message via MSN to fuzzlepop
Thanks alot it worked great, but everything after file.cgi? changes to.

Thanks

Reply With Quote
  #4  
Old November 8th, 2005, 11:19 AM
manni's Avatar
manni manni is offline
aka: jadibones
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: /usr/bin/
Posts: 379 manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 16 h 22 m 32 sec
Reputation Power: 6
Quote:
Originally Posted by fuzzlepop
Thanks alot it worked great, but everything after file.cgi? changes to.

Thanks


changes to what?

Reply With Quote
  #5  
Old November 8th, 2005, 12:05 PM
fuzzlepop's Avatar
fuzzlepop fuzzlepop is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Blackpool, UK
Posts: 316 fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 2 Days 12 h 44 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Send a message via MSN to fuzzlepop
e.g:

file.cgi?hello.jpg
file.cgi?mushrooms.exe
file.cgi?warez.rar

etc..

thanks!

Reply With Quote
  #6  
Old November 8th, 2005, 09:24 PM
sufyaaan's Avatar
sufyaaan sufyaaan is offline
Contributing User
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Apr 2005
Posts: 1,476 sufyaaan User rank is Corporal (100 - 500 Reputation Level)sufyaaan User rank is Corporal (100 - 500 Reputation Level)sufyaaan User rank is Corporal (100 - 500 Reputation Level)sufyaaan User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Month 5 Days 19 h 10 m 37 sec
Reputation Power: 10
RewriteRule videos/(.*)\.(.*)$ /cgi-bin/file.cgi?$1.$2

Someone correct me if I'm wrong?
__________________
360 Web Directory - Submit your site for free! Just recip. link required!
Link Exchange with PR 5 for all click here
How to Utilize your PR5 and above pages (Free Logo Design). Check This Out

Reply With Quote
  #7  
Old November 9th, 2005, 11:15 AM
manni's Avatar
manni manni is offline
aka: jadibones
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: /usr/bin/
Posts: 379 manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level)manni User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 16 h 22 m 32 sec
Reputation Power: 6
RewriteRule videos/([^\. ^/]+\..*)$ /cgi-bin/file.cgi?$1

this will make it so that
http://www.boysfood.com/videos/*.*

will work (has to have a (.) and be after (videos/) )


but http://www.boysfood.com/videos/some_other_dir/
or http://www.boysfood.com/videos/some_other_dir/*.*
wont work

Reply With Quote
  #8  
Old November 9th, 2005, 03:11 PM
fuzzlepop's Avatar
fuzzlepop fuzzlepop is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Blackpool, UK
Posts: 316 fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 2 Days 12 h 44 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Send a message via MSN to fuzzlepop
w00ter it worked, Thankls

Reply With Quote
  #9  
Old November 11th, 2005, 11:17 PM
fuzzlepop's Avatar
fuzzlepop fuzzlepop is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Blackpool, UK
Posts: 316 fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level)fuzzlepop User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 2 Days 12 h 44 m 2 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Send a message via MSN to fuzzlepop
Bit more, tried myself but kept getting a loop.

Turn http://www.freeinternetproxy.com/index.php?url=URLHERE

To: http://www.freeinternetproxy.com/URLHERE

Thanks

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherSEO Scripts > mod_rewrite help nearly done


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT