#1  
Old 31st January 2011, 12:12
Niels Niels is offline
Member
 
Join Date: Oct 2009
Posts: 52
Thanks: 5
Thanked 2 Times in 2 Posts
 
Default run command text

I have made a server with subversion and want to make it run some commands when Im making a new repository.

Now Im running this in console:

svnadmin create /var/www/clients/client1/web5/svn/[projectname]
chown -R web5:client1 /var/www/clients/client1/web5/svn
chmod -R 770 /var/www/clients/client1/web5/svn
htpasswd -c /var/www/clients/client1/web5/svn/[projectname].passwd [user1]
htpasswd /var/www/clients/client1/web5/svn/[projectname].passwd [user2]

and then I add this in apcache directives in ispconfig

<Location /svn/[projectname]>
DAV svn
SVNPath /var/www/clients/client1/web5/svn/[projectname]
AuthType Basic
AuthName "Subversion"
AuthUserFile /var/www/clients/client1/web5/svn/[projectname].passwd
Require valid-user
</Location>

But how to make all this just with write the projectname in a textbox and push a button (I know how to make the HTML but just want to know the last thing).
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Run AWStats from the Command Line linus3x Tips/Tricks/Mods 1 22nd October 2010 22:54
Here is how to run server.sh from PHP zabersoft Developers' Forum 4 21st September 2010 16:02
Companion Script #2 for The Perfect Server - Fedora 13 x86_64 [ISPConfig 3]" MrCompTech Tips/Tricks/Mods 0 10th July 2010 05:11
Need to Run Jobqueue from PHP manually ethanlifka Tips/Tricks/Mods 1 21st March 2010 12:59
No run directory defined for saslauthd, not starting sbin Server Operation 1 30th January 2010 03:06


All times are GMT +2. The time now is 12:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.