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: Mod Rewrite |
|
Author |
|
mel150
Joined: 19 Jul 2018 Posts: 2 Location: United States
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 07 Aug '18 11:59 Post subject: |
|
|
How do you like to match the url with a name to a number? if your cgi can do that you might rewrite the whole blog to the cgi. The urls then must be stored in the programming or in a database.
Code: | RewriteEngine on
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /cart/cgi/mini_blog.cgi [QSA] |
it is kind of the way wordpress rewrites the urls.
See https://codex.wordpress.org/htaccess |
|
Back to top |
|
mel150
Joined: 19 Jul 2018 Posts: 2 Location: United States
|
Posted: Tue 07 Aug '18 17:13 Post subject: |
|
|
Thanks, that makes sense. We hired someone to do it, but I will suggest this, since it's still not working properly. |
|
Back to top |
|
|
|
|
|
|