Jump to content

vidmarc

Member
  • Posts

    833
  • Joined

  • Last visited

Everything posted by vidmarc

  1. ps - my server info: System Linux infong 2.4 #1 SMP Fri Mar 22 18:19:29 CET 2013 i686 GNU/Linux Can any other info be gleaned from my PHP info file? I just found these links, can anyone help me re-jig it? http://www.cubecartforums.org/index.php?showtopic=9282 https://www.helpsheets.co/questions/60-1-1-mod_rewrite and this is from 1&1's support pages:
  2. Still no luck I'm afraid All the product links are messed up. and resulting in 404s My Mac's time is correct and is automatically set. http://www.nucleusfilms.com/education-anglaise-p24-p25-p26-p27-p28-p29-p30-p31-p32.html http://www.nucleusfilms.com/death-ship-p16-p18-p19.html
  3. I'm using Safari, does that make a difference?
  4. Sorry to bump this, but can anyone help? I've been on to 1&1 but they don't offer support for this.
  5. Yes, and sadly the site won't load at all. This .htaccess rewrite thing has me stumped. See error below. ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^nucleusfilms.com$ RewriteRule ^(.*)$ http://www.nucleusfilms.com/$1 [R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
  6. I changed STOREDOMAIN but it doesn't work at all now. No site loads. ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^STOREDOMAIN$ RewriteRule ^(.*)$ http://www.nucleusfilms.com/$1 [R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
  7. That one takes the links on the site here: http://storedomain/admin.php?_g=settings
  8. Weird, I haven't even downloaded it. I think that leaves you with this: ######## Added by 1&1 Abuse department -- BEGIN # only remove if you enconter problems related to php5 # take different measures to secure your scripts in this case AddType x-mapp-php5 .php ######## Added by 1&1 Abuse department -- END ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule> Did the one I suggested not work, either? Mine doesn't have the 1and1 section (which you probably need to keep) or the backward compatibility section (which I'm thinking you don't need since this was a clean install). I just tried this .htaccess file but now I'm getting error 404s. The urls are strange too. Something is very wrong, as these are all for different products: http://www.nucleusfilms.com/death-ship-p16-p18.html http://www.nucleusfilms.com/education-anglaise-p24-p25-p26-p27-p28-p29-p30-p31-p32.html http://www.nucleusfilms.com/death-ship-p16-p18-p19.html
  9. I don't have the ultimate url mod as far as I'm aware?
  10. I do have a few mods, will these affect the .htaccess file?
  11. Thanks, that's a great idea. I was doing the basic layout in TextWrangler. I was kind of hoping I could link to an external "product" stylesheet somehow.
  12. Thanks for the feedback - where can I find Bsmither's .htaccess file?
  13. Is it not possible for me to do this on one&one? All that coding talk is beyond my scope.
  14. It's a bit too advanced for me - I wouldn't know where to look!
  15. OK, I set up a sub domain as suggested but unfortunately when it says "Global php" it means global, including the sub domain. Damn.
  16. I'm copying and pasting from TextWrangler. I hate Word! It's after I've pasted and start changing things that the problems begin with incorrect fonts and sizes etc.
  17. How do you do this? I'm rather clueless about it to be honest.
  18. Is there a simple way to implement one standard font face and size for our product pages? I seem to be having a lot of hassle with the text editor system, with different fonts and font sizes all over the place. It seems to take a lot of time to get right, when ideally I'd like to just create each of my product pages in a text editor then copy and paste these into into the store. Would I also need to specify positioning of each paragraph too? I used to hand code my own sites using HTML 3, but things have changed a lot since then...
  19. Have tried various .htaccess installs (it seems to change each time I click on the install .htaccess button).
  20. When I enable SEO URLs and click on a product from the home page the url appears in the browser address bar but the home page remains. Same with selecting any of the category listings - the url appears in the address bar but the store remains on the home page.
  21. Sorry, my mistake. This is the actual .htaccess file I was using. ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below: Options +FollowSymLinks RewriteEngine On RewriteBase / # From Ultimate SEO URLs RewriteRule ^(.*)-p-(.*).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-c-(.*).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L] # For Open Operations Info Manager RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L] # For dreamscape's News & Articles Manager RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L] RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L] RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L] RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L] RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L] # All other pages # Don't rewrite real files or directories RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L] ######## Added by 1&1 Abuse department -- BEGIN # only remove if you enconter problems related to php5 # take different measures to secure your scripts in this case AddType x-mapp-php5 .php ######## Added by 1&1 Abuse department -- END ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
  22. It's a clean install www.nucleusfilms.com Cubecart 5.2.1 ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below: Options +FollowSymLinks RewriteEngine On RewriteBase / # From Ultimate SEO URLs RewriteRule ^(.*)-p-(.*).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-c-(.*).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L] RewriteRule ^(.*)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L] # For Open Operations Info Manager RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L] # For dreamscape's News & Articles Manager RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L] RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L] RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L] RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L] RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L] RewriteRule ^news/(.*)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L] # All other pages # Don't rewrite real files or directories RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L] ######## Added by 1&1 Abuse department -- BEGIN # only remove if you enconter problems related to php5 # take different measures to secure your scripts in this case AddType x-mapp-php5 .php ######## Added by 1&1 Abuse department -- END ## File Security <FilesMatch ".(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> #### Apache directory listing rules #### DirectoryIndex index.php index.htm index.html IndexIgnore * #### Rewrite rules for SEO functionality #### <IfModule mod_rewrite.c> RewriteEngine On ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule prod_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule info_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule tell_([0-9]+)(.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC] RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule _saleItems(.[a-z]+)?(?.*)?$ index.php?_a=saleitems&%1 [NC,L] ######## END v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ index.php?seo_path=$1 [L,QSA] </IfModule>
  23. Can anybody help me with this working? When I switch it on the pages don't load.
  24. Thanks for the suggestion - I checked and I'm allowed up to 1500 sub-domains. If this works and when the store is built, will it be easy to then move everything into the main root folder?
  25. I'm trying to get a friend's Cubecart up and running in a sub folder, whilst keeping the original site's webstore running in the root folder. However, the original site is running on php4, whilst Cubecart requires 5.2. Is there a way around this? I can get only one site working at a time as One&One only offers a "global php" setting.
×
×
  • Create New...