Results 1 to 8 of 8
  1. #1
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Honiara, Solomon Islands
    Posts
    1,085
    Just changed over from IIS to Apache server to discover that all my directory links now require a forward slash on the end. Guess that means no sleep for me for the next several days.

    Anyone know if there is a script that can make this change for me?

    Please help!

    Rgds, DPG

  2. #2
    ABW Ambassador Akiva's Avatar
    Join Date
    January 18th, 2005
    Location
    New Jersey
    Posts
    3,266
    DPG,

    Have you tried an bulk replacing program? Here's a good one that I use all the time: http://www.abacre.com/afr/index.htm

    Replace < / a > with /</a> and you're set to go.

    Akiva Bergstrom
    Business Development
    akiva@essentialapparel.com
    800-556-2937 ext 751
    www.essentialapparel.com
    6% PER SALE ~ RECURRING COMMISSIONS FOR 1 YEAR ~ ABW MEMBERS CONVERT AT LESS THAN 1/30 ~ DEDICATED AM WHO'LL DO ALMOST ANYTHING ~ TONS OF CASH WAITING TO BE TAKEN! ~ PARASITE FREE ~ PRIVATE FORUM AT ABW

  3. #3
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Honiara, Solomon Islands
    Posts
    1,085
    Thanks Akiva,

    Thats how I am doing it. I was hoping there was such a product that identifies the A HREF tag then checks the SRC= and if the target doesn't end in .htm .html .exe etc. it could add a slash on the end.

    Cheers, DPG

  4. #4
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    Woa woa woa before you go too far ...

    I don't think that's essential Apache behaviour - it's the way yours has been set up.

    My Apache server adds the final slash if it's not there - so users and links don't have to worry about it.

    I didn't make it do this - it just does.

    This will be an Apache configuration option somewhere - just sorry I can't tell you what. There are Apache forums I'm sure where you can fix this once and for all - or get the host/system people to do it.

    Are you Crazy?

  5. #5
    ABW Ambassador FFoc's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,015
    It's a rewrite whoseywhatsit. I'll look through my config, see if I can find it.

    Ford Fox-body Owners Club
    http://www.ford-fox.org

  6. #6
    ABW Ambassador FFoc's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,015
    Here - it's a FAQ..

    http://httpd.apache.org/docs/misc/FA...set-servername

    The gist of which is, "Add a ServerName directive to the config file to tell it what the domain name of the server is," and it'll start to work.

    Ford Fox-body Owners Club
    http://www.ford-fox.org

  7. #7
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Honiara, Solomon Islands
    Posts
    1,085
    FFoc & Crazy Guy,

    Thank you very very much for that information. FFoc Thanks loads for looking that up.

    Warm Regards, DPG

  8. #8
    ABW Ambassador FFoc's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,015
    See, by default, I had that problem too, but when I set up my VirtualHost directives, it suddenly started working, so I didn't bother to reason out why at the time

    Ford Fox-body Owners Club
    http://www.ford-fox.org

  9. Newsletter Signup

+ Reply to Thread

Posting Permissions

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