|
Hello all,
While trying to run Magento on a hosted server with php4, I tried using the php5-cgi workaround, but it produces a strange 404 error message:
Not Found The requested URL /home/xxxx/domains/xxxx.xxx/public_html/eshop/magento/cgi-bin/php5-cgi/eshop/magento/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
As you can see, the eshop folder is the folder in which Magento resides, and the cgi-bin is also placed in there. I tried to place the cgi-bin folder in the same level as the eshop folder, but it made no difference.
This is the .htaccess file:
<IfModule mod_php5.c> php_flag magic_quotes_gpc off php_flag short_open_tag on </IfModule>
Action php5-cgi /home/xxxx/domains/xxxx.xxx/public_html/eshop/magento/cgi-bin/php5-cgi AddHandler php5-cgi .php
DirectoryIndex index.php
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_URI} !^/media/ RewriteCond %{REQUEST_URI} !^/skin/ RewriteCond %{REQUEST_URI} !^/js/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
Any ideas as for the source of the problem, and perhaps a solution?
I have no possibility to place the cgi-bin folder in the root directory of the server.
Thanks,
Dotan
|