Slava
November 27, 2009, 4:28pm
1
Hi to all,
I am very, very new and of course, I have a problem!
My shop is smoothly and fine installed, all is green — perfect. But, when I open my shop in browser, click on any of links (which are CMS Pages), brings error 404 page.
There is start page and nothing ells. It seams to me like brocken links.
I checked “mod_rewrite”, it is on. The .htacces is on hand. It seams everything ok.
Please help!
Slava
Hello Slava,
Some hosting providers request an additional entry into the .htaccess file, called “RewriteBase”
In this case, replace
Options +FollowSymLinks
RewriteEngine On
by
Options +FollowSymLinks
RewriteBase /
RewriteEngine On
or for subfolders, use
RewriteBase /oxid/
Regards
Slava
November 28, 2009, 9:42am
3
Thank you Marko
I changed code in .htaccess as you said.
First RewriteBase /
and then, because it did not work, in the same line: RewriteBase /oxid/
Still the same. It’s not working.
Help!
Hello Slava,
how is the name of the subfolder where you installed your shop?
Regards
Slava
November 28, 2009, 5:19pm
5
/onlineshop/online_kaufen
Then you have to write:
RewriteBase /onlineshop/online_kaufen
Slava
November 28, 2009, 7:12pm
7
YESSSS!!
PERFECT! I’s working!
Thenk you Marco and Christoph
Hi, I had that same problem like Slava. I have changed the htaccess file and now I have a new problem.
I click on the category, and the category page doesn’t open, I have an error like:
[B]“The requested page ‘/~alarmy/Systemy-alarmowe/’ could not be found.[/B]”.
Do I have to create folders like “Systemy-alarmowe” in main folder with oxid eshop? It doesn’t create automatically when I create new categories or products in admin area?
Hello peitras87,
no, you dont have to create any folder.
Your URL is just re-written like this using mod_rewrite which is obviously installed on your server as your installation run through without problems obviously.
Would you post you .htaccess file here, please? And tell us if you installed the shop in a subfolder or in the root directory of your webspace.
Regards
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteRule admin/test\.php$ admin/test.php?mod_rewrite=1
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js)$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php
</IfModule>
# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$)">
order allow,deny
deny from all
</FilesMatch>
Options -Indexes
php_value memory_limit 32M
RewriteBase /alarmy/
I installed oxid in subfolder “alarmy”.
And again I have error 404. In .htaccess file everything is changed like ChristophH has written.
Hi,
alright, try it like this:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /alarmy/
RewriteCond %{REQUEST_URI} !(\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteRule admin/test\.php$ admin/test.php?mod_rewrite=1
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js)$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php
</IfModule>
# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$)">
order allow,deny
deny from all
</FilesMatch>
Options -Indexes
php_value memory_limit 32M
Regards
Hi,
thanks for your PM. I could reach your server but there seems to be something totally wrong:
css is not loaded
access to admin is not possible
Are you sure you can trust your WAMP installation?
Regards
I thinked that this could be a problem with WAMP… When I will have some free time I will search another virtual server and try it…
Hey, there’s a cool thing around:
Check this one out!
Regards
Hi everyone!
I have installed new WAMP, and… it’s working !
Thank you for all
Hi,
[QUOTE=pietras87;20618]Hi everyone!
I have installed new WAMP, and… it’s working !
Thank you for all :)[/QUOTE]
Thanks god man! puh
And thanks for your feed back!