osCmax v2.5 User Manual
Results 1 to 5 of 5

My Site URL

This is a discussion on My Site URL within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I just installed the OSC max. I installed it in public_html/. Now if I type This Web site coming soon ...

      
  1. #1
    New Member
    Join Date
    Mar 2007
    Posts
    5
    Rep Power
    0


    Default My Site URL

    I just installed the OSC max. I installed it in public_html/. Now if I type This Web site coming soon then its not opening. It opens only if I enter osCMax v2.0 : Buy Mobile Phones,iPods, Digital Camera and Send Gifts Online,
    Now I feel how my customers will access my site as they will type only This Web site coming soon they don't know the exact URL of the site. So it comes a big problem for me. Please help me so I can run my site with url This Web site coming soon.
    The .htaccess file code is as below:
    ****************************************
    # $Id: .htaccess 1 2003/06/12 10:53:20 Michael Sasek$
    #
    # This is used with Apache WebServers
    #
    # For this to work, you must include the parameter 'Options' to
    # the AllowOverride configuration
    #
    # Example:
    #
    # <Directory "/usr/local/apache/htdocs">
    # AllowOverride Options
    # </Directory>
    #
    # 'All' with also work. (This configuration is in the
    # apache/conf/httpd.conf file)
    # The following makes adjustments to the SSL protocol for Internet
    # Explorer browsers
    <IfModule mod_setenvif.c>
    <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    </IfDefine>
    </IfModule>
    # If Search Engine Friendly URLs do not work, try enabling the
    # following Apache configuration parameter
    #
    # AcceptPathInfo On
    # Fix certain PHP values
    # (commented out by default to prevent errors occuring on certain
    # servers)
    #
    #<IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    # php_value register_globals 1
    #</IfModule>
    ## SEO Url's .htaccess file
    ## If you want to use the Apache Mod-Rewrite method for SEO URL's
    ## Uncomment one of the two code blocks below, depending on where your store is installed:
    ## NOTE: This requires that you are on an apache web server with mod_rewrite enabled.
    ## If installed in a subfolder, uncomment the below block and change /folder/ to
    ## The directory where your shop is installed. For instance, if installed in the catalog directory
    ## Change it to /catalog/
    RewriteEngine On
    #Change "folder" to your catalog directory name
    RewriteBase /public_html/
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    ## If installed to the base home/root directory, uncomment the below code only:
    #RewriteEngine On
    #RewriteBase /
    #RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    DirectoryIndex index.html index.php
    *****************************************
    Please help me out

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: My Site URL

    Put this in your .htaccess file:
    Code:
    DirectoryIndex public_html/index.php index.php index.html
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Mar 2007
    Posts
    5
    Rep Power
    0


    Default Re: My Site URL

    Hi,
    Thanks for a quick solution.
    I done as u told but still the same problem is there. I added this line at the end of .htaccess file "DirectoryIndex public_html/index.php index.php index.html"
    Don't know what else is wrong now. Please help me out

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: My Site URL

    Contact your host. They are not allowing overrides and dont have indexing set for index.php. Have them set it up for you.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Active Member
    Join Date
    Aug 2007
    Posts
    145
    Rep Power
    5


    Default Re: My Site URL

    EDIT: seems his site is fixed.



    he has simply made a mistake...

    When he installed his website he put it in under username/public_html/public_html/ instead of just putting it into his webroot.


    Reinstall your website again into the web root and that will fix your issue... otherwise do a 301 redirect from / to /public_html
    Last edited by tcshadow; 02-26-2008 at 01:34 PM.

Similar Threads

  1. AP URL Rewriting
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-08-2007, 08:10 AM
  2. URL Gatekeeper v0.9
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-05-2007, 01:21 PM
  3. URL Gatekeeper v0.9
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-30-2007, 11:50 AM
  4. Payment Module Postback URL/Return URL???
    By DM420 in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 09-09-2005, 07:59 PM
  5. session id in URL
    By cominus in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-11-2004, 04:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •