Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    March 31st, 2005
    Posts
    3
    Cool Calendar pl
    hi,
    got the make pl working fine.Just not real clear on the htaccess. Does the info go below the instrumentpro?Thats the way i did it and i dont think its supposed to be like that.Ignore the other post about ftp,got that fixed by web host.I will also go back and read the docs.
    Thanks...

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    When editing the .htaccess file to work with DySE merchant modules, keep lines in the .htaccess file organized and put the 2nd set of rules just after the 1st set of rules (the order of sets does not matter). Also, the "RewriteEngine on" and "RewriteBase /" are required only once in the entire .htaccess file so you can skip those for subsequent sets of rules. So, use something like:

    RewriteEngine on
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(instruments)(/.*)?$ cgi-bin/dyse/view.pl?merch=instrumentpro&dir=$1&path=$2 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(calendars)(/.*)?$ cgi-bin/dyse/view.pl?merch=calendars&dir=$1&path=$2 [L]

    (in the future, add more RewriteCond/RewriteRule lines here)

    Note: Each set is two lines; a RewriteCond line and a RewriteRule line. The RewriteRule may appear above as two lines on your screen because it's so long. Type each RewriteRule as one line.

    The above lines will show InstrumentPro.com products at yourdomain.com/instruments and will show Calendars.com products at yourdomain.com/calendars

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Google Calendar
    By Chuck Hamrick in forum Virtual Family and Off-Topic
    Replies: 6
    Last Post: July 19th, 2011, 03:05 AM
  2. Calendar descriptions
    By okephoto in forum Cusimano.com Scripts
    Replies: 1
    Last Post: June 10th, 2010, 06:18 PM
  3. LinkShare Advent Calendar
    By SAllan in forum UK/European Affiliates
    Replies: 0
    Last Post: December 10th, 2007, 06:36 PM
  4. calendar
    By Celicaphile in forum Midnight Cafe'
    Replies: 0
    Last Post: December 3rd, 2002, 02:15 PM
  5. ABW - Calendar!
    By Haiko de Poel, Jr. in forum Midnight Cafe'
    Replies: 0
    Last Post: September 18th, 2001, 04:15 PM

Posting Permissions

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