mediaconx Posted April 17, 2004 Posted April 17, 2004 Okay, I searched and searched. I bet I have about 3 hours (AT LEAST) searching on how to do this and haven't found a good post on it. Of course, we know that it's not uncommon to get 13,000 answers in the search engine. So, before I start, please know that I have searched 100's and 100's of posts trying to find the answers and I'm sure they are there, but darned it I can find them. So....here we go. I have installed an entire site at the root of my site. So, it's all right under http://www.needhelpsite.com (I didn't manually install it, it was done from a control panel on my host). Now, I have a SSL connection, or the ability to generate one no problem. I have a dedicated IP as well. My question is how to set this all up. When I turn SSL on, it secures https://www.needhelpsite.com and nothing beyond that. I have read many, many posts (trust me) that explain that the configure.php files in catalog and admin need to be populated with the right directory information for the http and https information, plus SSL needs to be set to True in one of those (I gather depending on where you want it secured, i.e. shopping only or category level). My question is how and where do I setup the proper directory to protect it all and point towards? I see some people create entire other domains and put all the shopping on that domain. I don't have to do that, do I? I just need a little help in understanding what I need to do in steps. If someone knows a good link to where this is explained, please let me know. I searched the wiki site as well. Sorry for asking an obvioiusly often asked question, but you can't say I didn't TRY to find the answer! Thanks- Steve
Guest Posted April 17, 2004 Posted April 17, 2004 post your configure.php files for assistance. this info is in the documentation.
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 I can do that, but I think I understand the part about the configure files. What I don't quite understand is how to setup the https side. Do I have to manually create a https folder, of is simply putting all the info in the configure files, going to create the secure site? See, that's my problem, I don't fully understand how it all works or fits together. If you can explain this a little, it would help. If you still need my configure file, I'll post that. Just let me know. Thanks- Steve
AlanR Posted April 17, 2004 Posted April 17, 2004 Some hosting services require that ssl protected files live in special folders. Do you understand your hosting set-up. What's the url so we can see what's going on? Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Am I right to think that for the https , all I have to do is configure the configure files in the admin/includes/ and catalog/includes/ directories? So assuming I set all the right directories, and all the cookie locations right, it will automatically be behind https ? That's really my question, I think. The SSL is a separate issue, is it not? I'm using www.ixwebhosting.com . I'm not quite ready to post a site, since it's just a blank page and then the shopping cart. The wierd thing is the shopping cart seems to work well in testing and there are no references to anything in the database references or the http info, in either configure file. Do I just need to populate those files correctly and it'll all work, or is it more to it than that? Sorry for being simple, but I'm just trying to understand how it works.
Guest Posted April 17, 2004 Posted April 17, 2004 you need to follow what ixwebhosting says for their end, you are correct for the oscommerce end
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Okay, I think I have done it correctly but apparently I have missed something. The site is mediaconx and it's a blank page, but Here's my /catalog/includes/configure.php file. I do have SSL turned on at my domain. (I assume all I have to do is turn it on, doesn't seem to be anything to adjust or change). The button says it's "ON". Nothing really happens when I go to my site and go into the shopping side. I can login, add new user, shop, and nothing goes over to https. Any help? define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mediaconx.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://mediaconx.com'); define('HTTPS_COOKIE_DOMAIN', 'https://mediaconx.com'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> and my /admin/includes/configure.php file is : define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://mediaconx.com'); define('HTTPS_CATALOG_SERVER', 'https://mediaconx.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Thanks for any help! Steve
stevel Posted April 17, 2004 Posted April 17, 2004 The COOKIE_DOMAIN entries should be JUST the domain name, NOT a URL (so get rid of the https://, etc.) You will need to find out what your web host requires here. There is not a universal answer. I see you use ixwebhosting.com, but I can't figure out from their site how you use SSL. They do offer the ability to install your own SSL certificate - do you have one? If I go to your site, the links which should be SSL aren't - as if you changed the ENABLE_SSL to false. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Thanks Steve- the SSL, I do have. As for info from the host, what type of thing do I need to know? ix has a good package, but they are crap for help buttons or documents. What do I need to know about the SSL and what do I need to do with that info? If I am in my host's control panel and click on the view site icon next to the SSL, it opens my homepage under https. I'll make the changes you mentioned with the cookies too. Thanks- will report back soon!
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 changed the cookie to be '/mediaconx.com' in 2 places. I assume that's the same for both the http and https cookie info? Also, I noticed that I had the SSL enable set to true and not 'true' ,so I changed that. Still nothing. I can actually type the info in like www.mediaconx.com/catalog and the it's all secure. You guys are getting me close, keep the ideas coming! Thanks so much for the help. Steve
Guest Posted April 17, 2004 Posted April 17, 2004 in your admin/includes/configure.php even tho you say true to ssl, look at the way you have the pointers there, all say http:// if you want the admin protected by ssl, change the top line to https:// and where it asks for the https server name change that to https:// and then domain name. as i stated a few posts back, it is in your configure.php file where all the problem was being caused. this is properly documented in the documentation, which the developers have put together. remember, search is your best friend.
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Thanks mibble, like I stated in my first post, I spent many hours and searched MANY 100's if not 1000's of posts before posting this. What I had hoped to do it better understand it all. One major problem for me is that it was autoinstalled from an icon on my host, so I didn't get a chance to see and set all the things throughout the installation. To be honest, I find the search features close to useless. Can anyone be expected to search 13,000 "found" topics on "installing https" ? I'm sure there is good info already out there but saying "try a search" is not helpful. Getting the help like I have on this thread has been very helpful in helping me understand it all. If you know of a specific document that explains this well, please let me know because I haven't found it. Thanks again for everyone's help. Still not working, but getting closer.
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 This is where I am now and it's still not working // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://mediaconx.com'); define('HTTPS_CATALOG_SERVER', 'https://mediaconx.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> and..... // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mediaconx.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTPS_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' Am I getting closer? John said to change all my http stuff to https, but I don't see where I haven't done that already. What am I missing?
Guest Posted April 17, 2004 Posted April 17, 2004 so this is the default installation of osCommerce, with no modificaitions/contributions added and you put all your other changes back to original code? what do you mean that you go to the catalog and it goes to secure? has your host made any changes relating to the site? i just went to the site, ie appears to be working properly now. i know i would not sign up or purchase anything there without an ssl installed tho . . .
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 It's pretty close to being the stock osc. I think I have 1 contribution installed and that's the big pic's contribution. I'm sorry I wasn't clear before- if I go into shopping, logged in as a user, and I simply put a "s" next to the http in the browser, it shows the same page and secure. However, if I click anything else, it goes back to insecure pages. My point was that it appears it's there and working, but when you shop or login, it doesn't run things through the SSL. I do have SSL, and it is turned on, but I honestly don't know what I can do with it from my server side. I'm sorry for being so much trouble. I'm not a programmer (nor did I stay at a Holiday Inn Express last night - inside joke for USA members). Do you see anything wrong with the above code?
AlanR Posted April 17, 2004 Posted April 17, 2004 Change the cookie paths as I have below Also drop a file named phpinfo.php with these lines inside your root folder so we can see what the DIR_FS_CATALOG really is. <? phpinfo(); ?> Remember, no white space before or after, just those three lines. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://mediaconx.com'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'mediaconx.com'); ?define('HTTPS_COOKIE_DOMAIN', 'mediaconx.com'); ?define('HTTP_COOKIE_PATH', '/catalog/'); ?define('HTTPS_COOKIE_PATH', '/catalog/'); ?define('DIR_WS_HTTP_CATALOG', '/catalog/'); ?define('DIR_WS_HTTPS_CATALOG', '/catalog/'); ?define('DIR_WS_IMAGES', 'images/'); ?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); ?define('DIR_WS_INCLUDES', 'includes/'); ?define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); ?define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); ?define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); ?define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); ?define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); ?define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); ?define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', ''); ?define('DB_SERVER_PASSWORD', ''); ?define('DB_DATABASE', 'osCommerce'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Alan, made the changes and installed the phpinfo file as well. Should be ready to look at.
AlanR Posted April 17, 2004 Posted April 17, 2004 from phpinfo you can find your root path I've found that on some servers it works best to define this explicitly: define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); change to: define('DIR_FS_CATALOG', '/hsphere/local/home/mediax/mediaconx.com/catalog/'); Normally the installer will do this for you if you follow all the steps. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
241 Posted April 17, 2004 Posted April 17, 2004 here you go one catalog/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mediaconx.com'); define('HTTPS_SERVER', 'https://mediaconx.com'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTPS_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/hsphere/local/home/mediax/mediaconx.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); you can now use this root to help define the absolute paths for admin in admin/includes/configure.php define('DIR_FS_CATALOG', '/hsphere/local/home/mediax/mediaconx.com/catalog'); define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/mediax/mediaconx.com/catalog/'); define('DIR_FS_ADMIN', '/hsphere/local/home/mediax/mediaconx.com/catalog/admin/'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 made all those changes- still no https when you start shopping :blink: :(
AlanR Posted April 17, 2004 Posted April 17, 2004 Maybe the certificate error you get when you go to https://mediaconx.com/catalog/login.php is telling osC that you don't have an ssl connection. There's been other threads on this. Let me have a look. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Thanks- this is where the code stands now : define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mediaconx.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTPS_COOKIE_DOMAIN', 'mediaconx.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/hsphere/local/home/mediax/mediaconx.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> and.... define('HTTP_SERVER', 'http://mediaconx.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://mediaconx.com'); define('HTTPS_CATALOG_SERVER', 'https://mediaconx.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/mediax/mediaconx.com/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/hsphere/local/home/mediax/mediaconx.com/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/hsphere/local/home/mediax/mediaconx.com/catalog'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', '');
prof3ta Posted April 17, 2004 Posted April 17, 2004 It seems Mediaconx and I have similar yet different problems :blink: He can't make his shop go straight to https:// to start shopping. I can make mine go to https:// when people wanna buy, but i get a "Page not found" error message. I have looked at his configure.php and theyre pretty much the same... odd take a look if it helps: www.reptilemax.com
AlanR Posted April 17, 2004 Posted April 17, 2004 Here's a couple threads that I saved links to. I know these refer to 1&1 but I know that other threads have discussed using these solutions with hosts other than 1&1. It's going to be trial and error, I'm afraid. I'd certainly get that certificate error fixed though. http://www.oscommerce.com/forums/index.php?showtopic=72486&st=0 http://www.oscommerce.com/forums/index.php?showtopic=87362 Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
mediaconx Posted April 17, 2004 Author Posted April 17, 2004 Yes, it's me again :) I went through all the suggestions on those links, nothing changed. I can't test it right now, as I have removed the SSL and don't have the info to re-install is right now. The only thing I did find was that on my root directory, the hosts package created a directory called ssl.conf and inside of that is a directory named after my domain name. I doubt this changes anything we're talked about, but I thought it was worth mentioning. Aside from that, if I can't get it going are there any other options on this site, like maybe hiring someone to figure it out? Thanks again for all the help. Sadly, I haven't been able to get it going :(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.