sgflowers Posted May 9, 2003 Posted May 9, 2003 My hosting company is migrating my site from a raq server to a plesk server i need a hand updating the configuration so the site will run on the new server 1) there is a folder called httpdocs and httpsdocs the raq server only had the one folder what do i have to do differently here 2) the server does not seem to locate default.php , only index.php how do i get it to find default.php with out redirecting? Thank you, - kevin
networkdad Posted May 9, 2003 Posted May 9, 2003 My hosting company is migrating my site from a raq server to a plesk server i need a hand updating the configuration so the site will run on the new server 1) there is a folder called httpdocs and httpsdocs the raq server only had the one folder what do i have to do differently here 2) the server does not seem to locate default.php , only index.php how do i get it to find default.php with out redirecting? Thank you, - kevin I used to use plesk.. Your secure pages are served from and need to be loaded in httpSdocs. All others go in httpdocs. In your .htaccess file in your web root (/httpdocs), add the following (or change if its already there): DirectoryIndex default.php This will make default.php the home page, with no redirect necessary.
sgflowers Posted May 9, 2003 Author Posted May 9, 2003 Thanks 4 the quick response htaccess file did trick I used to use plesk.. Your secure pages are served from and need to be loaded in httpSdocs. All others go in httpdocs. which files do i need to put in httpsdocs? - kevin
networkdad Posted May 9, 2003 Posted May 9, 2003 Thanks 4 the quick response htaccess file did trick I used to use plesk.. Your secure pages are served from and need to be loaded in httpSdocs. All others go in httpdocs. which files do i need to put in httpsdocs? - kevin Hmm..that i cant answer. Typically, all your files that will be SSL'd (Checkout, account, login, etc) - I'd suggest searching, as i've seen this answered before.
sgflowers Posted May 9, 2003 Author Posted May 9, 2003 Does anyone know the correct solution to use a virtual link when you have httpdocs and httpsdocs on the same server using shared hosting I don't want to have to uload 2 copies of all the files! here is what i emailed my hosting company: As I believe I do not access I will need a hand creating a virtual link to my httpdocs folder from my httpsdocs Here is the solution that I could find: http://www.oscommerce.com/forums/viewtopic.php...light=httpsdocs here is another thread http://www.oscommerce.com/forums/viewtopic.php...plesk+httpsdocs and http://www.oscommerce.com/forums/viewtopic.php...plesk+httpsdocs Let me know if you need more information - kevin I am not sure exactly what has to be done I do not want to have to copy the entire site to both httpdocs and httpsdocs The consensus seems to be creating a symbolic link to httpdocs from httpsdocs But I do not know enough about apache to know if this would work Or if this would cause problems with the ssl certificate - Kevin
sgflowers Posted May 9, 2003 Author Posted May 9, 2003 from the old forum would this work????.......... (i am not going to do #3 by the way) Well you can do one of three things.... 1. Change your httpsd.conf file to have both services point to the same directory. 2. Make /usr/local/plesk/apache/vhosts/certifydev.com/httpSdocs/ actually be a symbolic link to the other directory or vice versa. 3. Upload two complete copies of OSC, images and all. Wayne Luke -Kevin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.