Adzzzz Posted August 9, 2006 Share Posted August 9, 2006 Hi, just installing osc for the first time.. each time i install the link to the admin tool points to my normall web server is this correct or should the admin dir be used within my shared ssl folder? Any help would be great, thanks. Adam Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2006 Share Posted August 9, 2006 Hi, just installing osc for the first time.. each time i install the link to the admin tool points to my normall web server is this correct or should the admin dir be used within my shared ssl folder? Any help would be great, thanks. Adam If you are on a server with a separate ssl dir, I would suggest removing admin from the non-ssl dir and using it only through ssl. You do not need to be on https to use your admin panel, but it keeps everything you do in that menu secure. Link to comment Share on other sites More sharing options...
Adzzzz Posted August 9, 2006 Author Share Posted August 9, 2006 If you are on a server with a separate ssl dir, I would suggest removing admin from the non-ssl dir and using it only through ssl. You do not need to be on https to use your admin panel, but it keeps everything you do in that menu secure. I can do that without any problem and would like to do it this way anyway, its just when i click the administration link at the top of my admin panel it sends me back the admin section on my non-ssl dir is there a way i can change this? thanks for your fast response i am working on it right now. Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2006 Share Posted August 9, 2006 I can do that without any problem and would like to do it this way anyway, its just when i click the administration link at the top of my admin panel it sends me back the admin section on my non-ssl dir is there a way i can change this? thanks for your fast response i am working on it right now. Open catalog/admin/includes/configure.php and change: define('HTTP_CATALOG_SERVER', 'http:// to: define('HTTP_CATALOG_SERVER', 'https:// Link to comment Share on other sites More sharing options...
Adzzzz Posted August 9, 2006 Author Share Posted August 9, 2006 Open catalog/admin/includes/configure.php and change: define('HTTP_CATALOG_SERVER', 'http:// to: define('HTTP_CATALOG_SERVER', 'https:// does not seam to work? here is my config file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.myurl.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'https://vault2.secured-url.com'); define('HTTPS_CATALOG_SERVER', 'vault2.secured-url.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'e:/sslroot/myurl/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/myurl/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', 'e:/sslroot/myurl/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/myurl/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'e:/sslroot/myurl/catalog/'); // absolute path required 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/'); Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2006 Share Posted August 9, 2006 This line: define('HTTPS_CATALOG_SERVER', 'vault2.secured-url.com'); needs to be: define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com'); If there is not a http:// or a https://, your browser will default to http://.Also, you may be able to undo the last change I told you to make to the 'HTTP_CATALOG_SERVER'. Link to comment Share on other sites More sharing options...
Adzzzz Posted August 9, 2006 Author Share Posted August 9, 2006 This line: define('HTTPS_CATALOG_SERVER', 'vault2.secured-url.com'); needs to be: define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com'); If there is not a http:// or a https://, your browser will default to http://.Also, you may be able to undo the last change I told you to make to the 'HTTP_CATALOG_SERVER'. it still does not work, im sure i had it running earlier though. also when i goto www.myurl.com/catalog/admin should it redirect me to the admin area on https://vault2.secured-url.com ? Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2006 Share Posted August 9, 2006 it still does not work, im sure i had it running earlier though. also when i goto www.myurl.com/catalog/admin should it redirect me to the admin area on https://vault2.secured-url.com ? It will not auto-redirect you to the https://. If you deleted the admin directory from the non-ssl you should get a 404 not found error in your browser. To fix this you can create the admin directory in the non-ssl directory, create a file called index.php and put this inside: <?php header("Location: https://www.myurl.com/admin"); exit; ?> Link to comment Share on other sites More sharing options...
Adzzzz Posted August 9, 2006 Author Share Posted August 9, 2006 It will not auto-redirect you to the https://. If you deleted the admin directory from the non-ssl you should get a 404 not found error in your browser. To fix this you can create the admin directory in the non-ssl directory, create a file called index.php and put this inside: <?php header("Location: https://www.myurl.com/admin"); exit; ?> Thanks for the above answers you have helped me out no end. however.. it is still not working and i have just installed it again but when accessing my admin panel from my ssl server all links point back to my normal web server? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.