Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

HTML Pages Not Being Called

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 02-18-2008, 04:24 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: HTML Pages Not Being Called

Should I also delete the second and third lines, please? (as follows):-

RewriteEngine On
RewriteRule ^content/(.*)$ pages.php [L]
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
  #12  
Old 02-18-2008, 08:01 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: HTML Pages Not Being Called

Balinor, in summary everything looks good, it just plain don▓t work.

The catalog is in the Root Directory
There is an index.html file in the catalog
The HTACCESS in the root directory is as follows: -

DirectoryIndex index.html
RewriteEngine On
RewriteRule ^content/(.*)$ pages.php [L]

(have tried changing the ⌠pages.php■ to■pages.html■ but to no avail)

There is also a HTACCESS in customer within the root directory which was as follows: -

DirectoryIndex home.php changed it to: -

DirectoryIndex index.html

However, although all looks correct when www.mynewsite.com.au is entered, you are directed to home.php

Do you think I should take this up with my Host or Qualteam?

Gerard
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
  #13  
Old 02-19-2008, 04:26 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: HTML Pages Not Being Called

Sounds like Zeus doesn't recognize the .htaccess file. Is there a control panel setting for specifying the index file? I'm not familiar with Zeus so I really can't help much. It is definitely a hosting issue, as X-Cart will load whatever the server tells it to.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #14  
Old 02-20-2008, 06:10 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: HTML Pages Not Being Called

Balinor,

Thanks for your help.

When I eventually find out from my host how to do this, will post it here in case others need it.

Thanks again.
Gerard
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
  #15  
Old 02-24-2008, 08:38 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: HTML Pages Not Being Called

Should anyone on a Zeus server have the same problem, here is the answer.

After being told originally that this could not be bone through the .htaccess file, guess what?

The very same support staffer came up with the following, which works.

He has only wasted 5 days out of my schedule not to mention the time that you guy have put into helping me. Thanks again.

The following is the contents of the .htaccess file : -

redirect /index.php
http://mynewsite.com.au/catalog/index.html
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:52 AM.

   

 
X-Cart forums © 2001-2020