You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Forrest Aldrich <fo...@forrie.com> on 2003/06/03 19:29:08 UTC
RE: [users@httpd] How to link to .bat files, clicking them,
immediately executing them?
Or perhaps rewrite (if possible) some of the code into perl or PHP.
I have used the Windows XP remote client, and it works pretty well -- what
java clients are you speaking of? A different server that does RDP?
At 01:21 PM 6/3/2003, you wrote:
>You're problem is, is that once you open the page in a client other than
>your server machine, it will read the link as if it was on that client
>machine... I'm not sure how you can do this, but that is your problem.
>:-)
>I am thinking that you will need a separate program and/or plug in to
>allow you to connect to apache on a specific admin port or url and do
>this, but I don't know how... I am inferring that you are using
>Windows... I would suggest trying to use RDP (Remote Desktop
>Protocol)/Terminal Services for this. I can log in from anywhere I have
>a client and access my server. (I also put a link to the client on a
>webpage where I can download it if I need to... Plus there are some JAVA
>clients out there also.)
>
>HTH and Good Luck!
>
>--Jeff Meisenhelder, poptart@poptartweb.org
>
>
>-----Original Message-----
>From: Victor B. Gonzalez [mailto:apacheusergroup@vbgunz.com]
>Sent: Tuesday, June 03, 2003 11:35 AM
>To: Apache Users
>Subject: [users@httpd] How to link to .bat files, clicking them,
>immediately executing them?
>
>
>Hello Apache,
>
> I've managed to create over 40 .bat files which manipulate Apache,
> MySQL and varying applications and I would like to execute them
> direct from a webpage...
>
> I made enough .bat files to create for myself a very small interface
> which should help out in manipulating the server basics. In theory I
> would like to remotely administer my servers using these .bat files.
>
> In practice, I've created a small webpage with system paths (not URLs)
> to my .bat files but clicking the links doesn't do anything...
>
> This is what the link looks like while creating it
> <a href="C:/Apache/Core_Shut_Down.bat">Core Shut Down</a>
>
> And this is what the properties look like on the webpage...
> file:///C:/Apache/Core_Shut_Down.bat
>
> Clicking the link on my machine or on a machine from my LAN doesn't
> do anything *but* I can choose to save the target and successfully
> save it *but* this option does me no good...
>
> Any gurus know how to execute the file on my machine?
>
> I feel I got most of the small stuff out of the way with these .bat
> files, starting, stopping, restarting, shutting down, etc... and it
> should give me more time to focus on touching the keyboard for the
> configuration...
>
> I would just like to clarify what I am working on.
>
> Create a webpage with system links to .bat files on the server.
> Clicking on these links will execute the .bat files on the server.
> It should not prompt a download box or do nothing. This is to help
> me remotely administer my server while I am out on the road.
>
> Anybody have any insight or ideas about how to make this happen?
>
> Thank you very much for your time
>
>--
>Best regards,
> Victor B. Gonzalez
>
>apache_2.0.46-win32-x86-no_src
>Windows XP 5.1 Build 2600 Service Pack 1
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server
>Project. See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org