SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 1999
    Location
    Kuala Lumpur, Malaysia
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My site suports SSI but it requires me to change html files to shtml. Is there any software that I can use to change all the html extensions in my harddrive/server quickly?

  2. #2
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know. I'm about ready to go through the same thing. So, I'll be interested to find out, too.

    ------------------
    Street Bikers United
    C&M Web Design

  3. #3
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    On a windows PC go to Start->Run. Enter in Command and press ok.

    Then type cd d:\websitefolderhere where D: is the drive your folder is on and websitefolderhere is the path i.e. e:\web_design\media\projects\current

    Then once in that directory you type:
    ren "*.html" "*.shtml"

    The quotes are necessary for the command interpretor to use long file names.

    That will rename every file in the current directory. On Unix systems you would use the mv command so it would be mv *.html *.shtml

    ------------------
    Wayne Luke
    Internet Media Provider

  4. #4
    SitePoint Member
    Join Date
    Aug 1999
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why bother? Just create a .htaccess file with this command in it:

    AddHandler server-parsed .html

    and put it in the directory with you html files. Then the server will parse html files as well as shtml.

    Richard

    ------------------
    rperry@tioloco.com

  5. #5
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Not a very effective use of your server resources if you also have standard HTML files without SSI in your site.

    ------------------
    Wayne Luke
    Internet Media Provider

  6. #6
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wayne,

    Just the other day, I read someone's praises for you. They are fully warranted! Thanks a lot!

    Mike

    ------------------
    Street Bikers United
    C&M Web Design

  7. #7
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank You.

    One of the reasons I like these forums so much is that I learn something new every day and from every post I read. I post as often as I can to give back some things that I have learned and to share with others. After working with computers for over 15 years I know how tough some things might be for newcomers and I wish to make it a little easier. Often they also teach me a new perspective to old problems that can often result easier to use solutions. I use this approach with everything in my work whether its Windows and MS-Office training classes, HTML design or C++ and VB programming.

    ------------------
    Wayne Luke
    Internet Media Provider

  8. #8
    SitePoint Member
    Join Date
    Aug 1999
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wluke,

    I generally agree with you on topics in this formu, but I gotta respond to this. Granted, every case is individual and you have to balance a lot of variables, but most of what I see is people using SSI for headers and footers, in which case, virtually every page served needs to be parsed. If you're using SSI chances are that your going to parse all of your pages anyway.

    So, for someone who has a majority of parsed pages, the load on the server is there anyway, whether the files are named .shtml or .html.

    And for today's servers, how much of a load is that anyway? I don't know of any IPP that carges by CPU cycles, so I just don't think the overhead arguement washes.

    Richard

    ------------------
    rperry@tioloco.com

  9. #9
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Your welcome to use your server how you wish. I just made a comment. Also most providers have a clause in their contracts that they can cancel your account for excessive use. This usually translates to using more than 6% of CPU cycles. Some of the newer operating systems allow the administrator to restrict your processing allotment.

    ------------------
    Wayne Luke
    Internet Media Provider


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
  •