Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: using .htaccess to "change" directory structure |
|
Author |
|
Hotaru
Joined: 29 Jul 2008 Posts: 2 Location: Big Orange
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 28 Apr '09 9:38 Post subject: |
|
|
A rewriting with a .htaccess file in your /items/lists/docs folder
Quick and dirty, but that should work.
Code: |
RewriteEngine On
RewriteRule (.*) http://example.com/docs/%{REQUEST_URI}
|
Your second URL I can't see the difference. |
|
Back to top |
|
|
|
|
|
|