jmichae3 wrote:no. this would POSSIBLY make the executables run on windows 8 without having to run as administrator. in order to get admin rights though, you would need to change <ms_asmv2:requestedExecutionLevel level="asInvoker">
to <ms_asmv2:requestedExecutionLevel level="requireAdministrator">
this is at a much lower level than what you are talking about. this goes INSIDE the .exe's as a standard windows resource or beside them. this applies to .dll's too maybe.
this may allow for placing in c:\program files\ but it depends upon the implementation of the UAC in each version of windows it seems. maybe you will have better success in testing than I have.
I have a very small audience and extremely few OS's and machines to test with.
also, installers must either have the word "-install" or "-setup" in their filenames if I remember right, I think it was "-install".
for that information, you have to read up on microsoft's "one-click install" initiative. (misnomer, it requires a double-click)
I noticed that the manifests in the executables use level="asInvoker", which uses the current login credentials.
but what I find interesting is that, if I run the installer for xampp as administrator, the services logon by default as SYSTEM, not as me.
this works just fine, however, *starting* and *stopping* the services requires administrator access. I just discovered this. I think this is why xampp has been having problems with vista. when you do from the cmd shell:
- Code: Select all
net start Apache2.2
net stop Apache2.2
you must run your cmd shell as administrator. the shortcut must be created with "run as administrator" privileges.
other than that, the whole package works well.
as for security, the reason why it's not secure out of the box is because httpd.conf I think is bound to every NIC on the machine.
my question is, since most people are going to want to do virtual hosts, how would you do virtual hosts for both [::1] and 127.0.0.1 for the same directory? do you need 2 separate virtual host entries, or do you
- Code: Select all
<VirtualHost 127.0.0.1:80 [::1]:80>
instead?
the workaround for the problem of the xampp control panel not starting and stopping services is,
- download xampp.
- right click on xampp and run as administrator.
- when you are installing xampp, choose to install a desktop icon for the control panel.
- right-click on the xampp control panel icon on the desktop, pick properties, and turn on "Run as administrator". click ok.
- xampp will run now, but it will go wonky on the next reboot.
- if you have to, when you start your computer, do [Ctrl]-[Alt]-[Delete] and bring up the task manager (or [windows-logo-flag-key]-R taskmgr[Enter]) and do an end-task on xampp control panel (you may find it does not start and stop Apache, or may find that Apache does not start)
- double-click on your xampp control panel desktop icon. it will ask your permission to make changes to your computer. allow it to. this means it will be able to start and stop apache service , mysql service, etc.