Current time: 11-24-2024, 06:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
Google-ble sitemap of your hosting clients' sites
Author Message
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #2
RE: Google-ble sitemap of your hosting clients' sites
Hi,

did not work, recoded it to :


Code:
#!/usr/bin/perl

@dirs = `ls /var/www/virtual`;
open(F, ">/var/www/ispcp/gui/sites.html");
print F "<html>\n<body>";
foreach(@dirs) {
chomp;
/.*\/(.*)$/;
print F "<a href='http://$_'>$_</a><br>\n";
}
print F "</body>\n</html>";
close F;


greets
(This post was last modified: 01-25-2010 08:50 PM by Top44.)
01-22-2010 06:35 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Google-ble sitemap of your hosting clients' sites - Top44 - 01-22-2010 06:35 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)