View Full Version : 404 error, NOT a 403 error. MediaLayer is host
Cameron Day
06-09-2009, 09:41 PM
I looked through the 404 threads here, and my problem looks a little different. I only get a 404 error (no 403 or mod_security errors) when trying to access delavo after a successful installation.
I also added the "RewriteBase delavo" to my .htaccess, but it didn't help.
My only deviation from the normal install was that I named my install directory "deliver" instead of "delavo" but I have accounted for that change.
My host thinks it's a script issue, and I am inclined to agree. More specifically, probably something in the .htaccess file. Any suggestions?
Thanks,
Cameron
Warren Strader
06-09-2009, 10:15 PM
Cameron,
Something else to try - make sure the chmod attributes on your public_html folder is set to 750.
Warren
Brian Collins
06-09-2009, 11:22 PM
Hi Cameron,
Whenever a host says to me it is a script issue - that is the time I start looking for a new host :)
I have (and others) installed many JVM-1,s - Fantasos and Delavo's on many hosting accounts - it is not a script issue.
Brian
Cameron Day
06-10-2009, 12:10 AM
I am pretty sure the problem is with the URL rewriting or possibly that some components did not install correctly. For example, main.html should be served up as the directory's root page per this rewrite rule:
RewriteRule ^$ main.html [NE,L]
But where is main.html? I have no such file on my server after installing Delavo. I also don't have other rewritten urls that I see in .htaccess such as:
# package order links
RewriteRule ^([0-9]+)([a-z]{2})/([0-9]+)/order/? order/init_package.html?pack_id=$1&signature=$2&aff_id=$3 [NE,L,QSA]
RewriteRule ^([0-9]+)([a-z]{2})/order/? order/init_package.html?pack_id=$1&signature=$2 [NE,L,QSA]
# package minisite link
RewriteRule ^([0-9]+)([a-z]{2})/site/? minisite/main.html?pack_id=$1&signature=$2 [NE,L,QSA]
# package homepage links
RewriteRule ^([0-9]+)([a-z]{2})/([0-9]+)/? package/homepage.html?pack_id=$1&signature=$2&aff_id=$3 [NE,L,QSA]
RewriteRule ^([0-9]+)([a-z]{2})/? package/homepage.html?pack_id=$1&signature=$2 [NE,L,QSA]
I have no order directory, no minisite directory, no package directory. The installation script said everything worked fine (the database has been filled, etc)...but did it? Any insights?
Brian Collins
06-10-2009, 12:24 AM
Hi Cameron,
The fact that you are missing directories tells me that it is a problem with the way your hosting handles the installation of Delavo through a cgi script.
What you have outlined above tells me that your hosting accout is not able to let the installation script create and/or change directories/permissions.
I have seen this on a couple of hosts - if you are sure you want to stay with them and not in a hurry then try their help desk again.
Brian
Cameron Day
06-10-2009, 01:10 AM
I just tried it on a 1and1 account with the same result. Brian, can you do me a favor and do a copy/paste of the directory contents of one of your delavo installations? Here is what I get on medialayer and now on 1and1:
aff.js
.htaccess
install.tstamp
JinAuthenticatorImpl.class.php
jin.cache.templates
jin.cgi
jin_par
kit.hostconf
kit.jin.plugins
kit.perlmod
lpgo.php
lphp.php
mce
php
promogen-templates
skins
zen-loader
zen-sitebox
Thanks,
Cameron
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.