404 error while using apache. seems to be a htaccess problem...

Status
Not open for further replies.

Olivier So Far Away

New Member
Sep 6, 2011
2
0
Hi,

I tried to set up the cms, but when I try to go to the index, I have a 404 error while the url is
If I put : it works

So, its a htaccess problem... but I can't understand why :(
EDIT: I'm using APACHE, so I have to use the htaccess :)

My httaccess :
Code:
RewriteEngine On
 
RewriteRule ^(|/)$ index.php?url=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
 
RewriteRule ^(.*)\.htm$ $1.php [NC]
 
RewriteRule ^(|/)$ dash.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1

I modified nothing to the code, I don't undestand why this is not working out of the box..

Thanks for help :)
 

Macemore

Circumcised pineapples
Aug 26, 2011
1,681
819
Hi,

I tried to set up the cms, but when I try to go to the index, I have a 404 error while the url is
If I put : it works

So, its a htaccess problem... but I can't understand why :(
EDIT: I'm using APACHE, so I have to use the htaccess :)

My httaccess :
I modified nothing to the code, I don't undestand why this is not working out of the box..

Thanks for help :)
try: ?
 

Olivier So Far Away

New Member
Sep 6, 2011
2
0
This may be a solution: possibly the RevCMS installation to the root directory?
Nothing change ;)

try: ?
Its redirecting on

That's correct. The cms should do that. But the htaccess don't do its job :/ And I don't understand why :(

EDIT: It works ! My Apache conf was back to default... so the rewrite was not activated -_-
Sorry guys !
 
Status
Not open for further replies.

Users who are viewing this thread

Top