HTM or CGI?

P

Pam

What is the purpose of making all the links in a site CGI instead of HTM
files? Someone wants me to take over their site - but everything except the
index file is developed as CGI's. I don't necessarily want to work with
cgi's as its just something else for me to learn - but making the cgi files
into htm means that I have to go thru the entire (EXTENSIVE) site and revamp
each and every little gif/jpg/file ...

can someone clue me in here?

thanks
Pam
 
M

Mark Fitzpatrick

First, you need to find out if they are .cgi for a reason. Are these scripts
as the cgi would imply? If so then changing them to .htm will break them. If
you can change them, it may be possible to do a search and replace
throughout the site to replace any .cgi in code with a .htm. This may
introduce a few errors, but also could be less time consuming than replacing
each entry by hand. There are also some shareware programs that will let you
rename files as a batch, which would let you replace the .cgi in the
filename with .htm without renaming each file by hand. Just make sure before
you take any action you have a full backup of the site left untouched. That
way if any of these steps proves incorrect or more problematic you can
revert to the original.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top