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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| ||||
| ||||
| Put this in your .htaccess file: Code: DirectoryIndex public_html/index.php index.php index.html
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#3
| |||
| |||
| 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
| ||||
| ||||
| 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 Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#5
| |||
| |||
| 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 02:34 PM. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AP URL Rewriting | michael_s | New osCommerce Contributions | 0 | 02-08-2007 09:10 AM |
| URL Gatekeeper v0.9 | michael_s | New osCommerce Contributions | 0 | 02-05-2007 02:21 PM |
| URL Gatekeeper v0.9 | michael_s | New osCommerce Contributions | 0 | 01-30-2007 12:50 PM |
| Payment Module Postback URL/Return URL??? | DM420 | osCommerce 2.2 Discussion | 0 | 09-09-2005 07:59 PM |
| session id in URL | cominus | osCMax v1.7 Discussion | 3 | 11-11-2004 05:34 PM |