Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Issue with url rewriting

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
ReWriting URLS - OK. This is what I have I have 2 domains and Both of them are pointing to the same using the same index file. What I want to do is make it so that every request for get rewrote as..

CGI issue when returning to index.html - I have a slight issue with my website. Most of the pages are generated by Perl and they all function correctly apart from when someone logs off. When a user clicks the logoff button, the page just goes blank instead of loading (frame page..
Next:  Apache: Upgrading 1.3 -> 2.0 vhosts?  
Author Message
user2412

External


Since: Aug 06, 2003
Posts: 1



(Msg. 1) Posted: Wed Aug 06, 2003 2:29 pm
Post subject: Issue with url rewriting
Archived from groups: alt>apache>configuration (more info?)

Hi,

I trying to do something in using the mod_rewrite.

So, my first test was to create a page "trouve.html" and put a .htaccess
file with
"
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^nexistepas.html$ trouve.html [L]
"

When i try to acces to nexistepas.html, i got the trouve.html page. It's
work fine.

My second test was to create a page article.php with the code :
"
<?php echo $numero."<br>".$page ?>
"

and put a .htaccess file with the code :
"
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ article.php?numero=$1&page=$2
[L]
"

The goal was to access to article.php?numero=45&page=36
with article-45-36.html

But it doesn't work on my server, i have an error when i try to access to
the page :
"You don't have permission to access /article-45-36.html on this server."

And the same error to access to article.php?numero=45&page=36
"You don't have permission to access /article.php on this server."

And for the root too :
"You don't have permission to access / on this server."

If i remove the .htaccess file, i can access to the site.

Somebody has an idea ?

Thanks.

 >> Stay informed about: Issue with url rewriting 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]