<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1017977" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1017977</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/phpperlasp-server#comment-1105298</link>
    <description> &lt;p&gt;I think I&#039;ll be  using perl or PHP....&lt;br /&gt;
What permissions need to be set?&lt;/p&gt;
 </description>
     <pubDate>Fri, 22 Mar 2002 12:01:04 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1105298 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/phpperlasp-server#comment-1105233</link>
    <description> &lt;p&gt;You can do the same thing with ASP/IIS, but you&#039;ll need to have the permissions set correctly.&lt;/p&gt;
&lt;p&gt;To stop/start a website:&lt;/p&gt;
&lt;p&gt;set IISOBJ = getObject(&quot;IIS://localhost/w3svc/1&quot;)&lt;br /&gt;
IISOBJ.Stop&lt;br /&gt;
set IISOBJ = nothing&lt;/p&gt;
&lt;p&gt;Just replace Stop with Start to start it. The 1 refers to the instanceID of the website.&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Mar 2002 16:02:23 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1105233 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/phpperlasp-server#comment-1105226</link>
    <description> &lt;p&gt;Yes. Anything (well, nearly) is possible with Perl. Probably is with PHP or ASP too, but I have limited knoweldge of these languages.&lt;/p&gt;
&lt;p&gt;What exactly do you want to do?&lt;/p&gt;
&lt;p&gt;The easy way to kill a process would be:&lt;/p&gt;
&lt;p&gt;my $pid&lt;br /&gt;
system (&quot;kill -HUP $pid&quot;);&lt;/p&gt;
&lt;p&gt;The _biggest_ problems you will face is permissions. You will most likely need to be root to restart/shut down your web server. This could prove tricky using any programming language, as the web server usually treats users as user nobody.&lt;/p&gt;
&lt;p&gt;This is assuming you&#039;re trying to do this from a web browser, of course?&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Mar 2002 09:51:59 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1105226 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
