RewriteRule The requested URL was not found on this server
up vote
1
down vote
favorite
I have same problem :
url rewriting gives "object not found" error
but I'm using sub-domain and it doesn't work ...
My Original URL :
Http://wiki.example.com/articles/index.php?user=Martin&pass=Cohle
I've placed htaccess file in
"wiki.example.com/htdocs/articles/";
RewriteRule
RewriteEngine On
RewriteRule ^wiki_article/([0-9]+)/([A-Za-z0-9-+]+)/?$ index.php?user=$1&pass=$2[L]
new url
wiki.example.com/wiki_article/Martin/Cohle/
I get :
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
What I did wrong ?
apache .htaccess
add a comment |
up vote
1
down vote
favorite
I have same problem :
url rewriting gives "object not found" error
but I'm using sub-domain and it doesn't work ...
My Original URL :
Http://wiki.example.com/articles/index.php?user=Martin&pass=Cohle
I've placed htaccess file in
"wiki.example.com/htdocs/articles/";
RewriteRule
RewriteEngine On
RewriteRule ^wiki_article/([0-9]+)/([A-Za-z0-9-+]+)/?$ index.php?user=$1&pass=$2[L]
new url
wiki.example.com/wiki_article/Martin/Cohle/
I get :
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
What I did wrong ?
apache .htaccess
Is^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.
– Steve E.
Nov 19 at 3:39
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have same problem :
url rewriting gives "object not found" error
but I'm using sub-domain and it doesn't work ...
My Original URL :
Http://wiki.example.com/articles/index.php?user=Martin&pass=Cohle
I've placed htaccess file in
"wiki.example.com/htdocs/articles/";
RewriteRule
RewriteEngine On
RewriteRule ^wiki_article/([0-9]+)/([A-Za-z0-9-+]+)/?$ index.php?user=$1&pass=$2[L]
new url
wiki.example.com/wiki_article/Martin/Cohle/
I get :
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
What I did wrong ?
apache .htaccess
I have same problem :
url rewriting gives "object not found" error
but I'm using sub-domain and it doesn't work ...
My Original URL :
Http://wiki.example.com/articles/index.php?user=Martin&pass=Cohle
I've placed htaccess file in
"wiki.example.com/htdocs/articles/";
RewriteRule
RewriteEngine On
RewriteRule ^wiki_article/([0-9]+)/([A-Za-z0-9-+]+)/?$ index.php?user=$1&pass=$2[L]
new url
wiki.example.com/wiki_article/Martin/Cohle/
I get :
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
What I did wrong ?
apache .htaccess
apache .htaccess
edited Nov 19 at 10:18
asked Nov 19 at 0:50
Manhunt336
64
64
Is^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.
– Steve E.
Nov 19 at 3:39
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18
add a comment |
Is^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.
– Steve E.
Nov 19 at 3:39
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18
Is
^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.– Steve E.
Nov 19 at 3:39
Is
^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.– Steve E.
Nov 19 at 3:39
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53366993%2frewriterule-the-requested-url-was-not-found-on-this-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is
^wiki_article/...
a typo or part of the actual code? Because that regular expression is not going to match any of the urls in your question.– Steve E.
Nov 19 at 3:39
@SteveE. sorry ! fixed.
– Manhunt336
Nov 19 at 10:18