+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Default Zeus Web Server - seo links

    I'm using a Zeus server and know that I need to upload a rewrite.script file.
    I've used the code below. I'm having no luck - help please.

    RULE_0_START:
    # get the document root
    map path into SCRATCHOCROOT from /
    # initialize our variables
    set SCRATCH:ORIG_URL = %{URL}
    set SCRATCH:REQUEST_URI = %{URL}
    # see if theres any queries in our URL
    match URL into $ with ^(.*)\?(.*)$
    if matched then
    set SCRATCH:REQUEST_URI = $1
    set SCRATCH:QUERY_STRING = $2
    endif
    RULE_0_END:
    RULE_1_START:
    # prepare to search for file, rewrite if its not found
    set SCRATCH:REQUEST_FILENAME = %{SCRATCHOCROOT}
    set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}
    # check to see if the file requested is an actual file or
    # a directory with possibly an index. don’t rewrite if so
    look for file at %{SCRATCH:REQUEST_FILENAME}
    if not exists then
    look for dir at %{SCRATCH:REQUEST_FILENAME}
    if not exists then
    set URL = /index.php?q=%{SCRATCH:REQUEST_URI}
    goto QSA_RULE_START
    endif
    endif
    # if we made it here then its a file or dir and no rewrite
    goto END
    RULE_1_END:
    QSA_RULE_START:
    # append the query string if there was one originally
    # the same as [QSA,L] for apache
    match SCRATCH:ORIG_URL into % with \?(.*)$
    if matched then
    set URL = %{URL}&%{SCRATCH:QUERY_STRING}
    endif
    goto END
    QSA_RULE_END:

  2. #2
    OXYLUS Development Emanuel's Avatar
    Join Date
    Feb 2008
    Location
    Romania
    Posts
    329

    Default

    Hi

    I never worked with ZEUS, the only solution is to look over the web and find a solution to redirect all 404 errors to a certain link. From that point forward the cms will take care of processing the links.
    - Search before posting, most of the problems has been discussed already.
    - Make sure you have all the fixes and updates installed before reporting anything
    - Allow us up to 48 hours to respond
    - After having your support request resolved please rate the thread.
    - Be polite, keep in mind we are offering the support for free as curtoasy for you.


    http://www.oxylusflash.com
    http://www.oxylustemplates.com
    http://www.flashtory.com

Similar Threads

  1. broken links and error in admin
    By centralfusion in forum Robust Business and Portfolio Template with CMS and SHOP
    Replies: 1
    Last Post: 04-13-2011, 01:46 AM
  2. Changing Servers, and or Folders on Server?
    By dehnger2u in forum Robust Business and Portfolio Template with CMS and SHOP
    Replies: 1
    Last Post: 09-12-2010, 07:30 PM
  3. Problem uploading images - server drop
    By muserrano in forum Full Cms Business Template 01
    Replies: 1
    Last Post: 08-06-2010, 04:48 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