FrontPage to Apache...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,
I am trying to write a short script that will allow files saved
from a Windoze package (MSFrontPage) to an Apache subdirectory (via samba/smb)
and need to reduce/strip out such Windows crap as
src="/MyDocumnents/anotherdirectory/.../realImageName.gif" to say
src="realImageName.gif" i.e. all the directory paths leaving a relative
location. I have already stripped out -file://C:/... and //ServerName...

Is there a linux script to convert Windows html/htm files to something
providing relative URL's or is there an Apache utility that can do this?

Or how can I convince sed to dump anything between two //'s i.e. /Windows/

Has anyone else tried to do this?

Previously, the user used FrontPage to "Publish" his web pages - have you seen
how dangerous that is?!!

Regards,
Bruce.


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux