View Issue Details

IDProjectCategoryView StatusLast Update
0002011OXID eShop (all versions)6. ------ Setup -------public2010-07-30 13:35
Reporterdainius.bigelis Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.2 revision 29492 
Target Version4.4.2 revision 29492Fixed in Version4.4.2 revision 29492 
Summary0002011: Detection for set server port is missing and it assumes that it's always 80
DescriptionCurrently the server port number is hardcoded in the source code and it is 80.
Need to implement additional check if this port is set in server configuration, and set this port. If port is not set - leave it as 80.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

arvydas_vapsva

2010-07-30 13:35

reporter   ~0003338

Last edited: 2010-07-30 13:36

improved mod_rewrite check by using server configuration info if available in oxsysrequirements.php::checkModRewrite():

    ...
    $iPort = isset( $_SERVER['SERVER_PORT'] ) ? $_SERVER['SERVER_PORT'] : 80;
    if ( $sScript && $rFp = @fsockopen( $sHost, $iPort, $iErrNo, $sErrStr, 10 ) ) {
    ...