Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

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 Dev Shed Forums Sponsor:
  #1  
Old June 14th, 2000, 09:27 PM
JeremyL JeremyL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 12 JeremyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have been told that apache has some features that can help me do this using either the config or .htaccess file.

I have used the .htaccess file to take a script and instead of having it named "main.cgi" it is now named just "main". So now that the .cgi extension is gone I want to get rid of the ? in the url for dynamically generated pages. That way it will be search engine friendly.

I have heard from people this is possible. Could someone please tell me how to do this?

Thanks


Reply With Quote
  #2  
Old June 15th, 2000, 08:04 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>I have heard from people this is possible.
Yes, using mod_rewrite.

Reply With Quote
  #3  
Old June 15th, 2000, 02:18 PM
JeremyL JeremyL is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 12 JeremyL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do you have any details on how?

Reply With Quote
  #4  
Old June 15th, 2000, 06:45 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mod_rewrite is pretty difficult to use based on its flexibility and power. Please go to: http://www.apache.org/docs/misc/rewriteguide.html and look at "Filesystem Reorganisation" section, this matches best to your situation.

I haven't tried "Filesystem Reorganisation" myself, so I can't give you example. In that example, the cgi scipt has .cgi extension, you can simply remove the .cgi extension using ScriptAlias or whatever since you already figured out this part.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > cgi-bin/script?/Computers/Internet to ==> /script/Computers/Internet

Developer Shed Advertisers and Affiliates



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

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


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap