This is a discussion on group working on a website within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all, I've to set up an apache server with PHP and MYSQL on a WinXP machine in our ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I've to set up an apache server with PHP and MYSQL on a WinXP machine in our local network (LAN) wich must be available for all webmasters for a huge project. We have DW MX 2004 and DW 8. This server will be the evaluation server (where we will developp and test pages) then the site will be uploaded on a hosting server. Wich is the best way to work in a LAN ? must I share a directory ? Will it be protected from outside attacks ? Also, it may appens that a webmaster will work from his home. Would it be possible to access to the server by outside ? how to set up things. Thanks for helping. PS (I know it would be better to do a linux server, but this server must be kept in XP). Bob |
|
|||
|
Bob Bedford wrote: > Hi all, > > I've to set up an apache server with PHP and MYSQL on a WinXP machine in our > local network (LAN) wich must be available for all webmasters for a huge > project. We have DW MX 2004 and DW 8. dreamweaver has a basic check out/in facility and so you /can/ do this, but have you thought of using svn or svk which would be __far__ nicer. > > This server will be the evaluation server (where we will developp and test > pages) then the site will be uploaded on a hosting server. > > Wich is the best way to work in a LAN ? must I share a directory ? Will it > be protected from outside attacks ? if you do share a directory, just make sure that the firewall running on your evaluation server only permits connections from the local subnet. Also if you disable simple file sharing (my computer->tools->folder options->scroll down, uncheck "use simple file sharing") then you will be able to add a user to the system ( using start->run->compmgmt.msc "local users and groups" -> right click users -> new user -> strong password, password never expires->create->close->double click the user you created->membor of tab->remove all entries in the list till its blank, apply/ok), called maybe "<projectname>" and set a strong password, now you have the user which isnt able to access anything on the system because it is not a member of any group, you then go to the root of project, and to any folders you wish the user to be able to acess, and right click it ->properties ->security tab-> add the user, click full control -> apply/ok you have now created a secure account which can only access the folders it needs to users of dreamweaver on the local net will need the password. > Also, it may appens that a webmaster will work from his home. Would it be > possible to access to the server by outside ? how to set up things. > download and setup filezilla server with a strong password. use it to create an SSL certificate, and go through the options setting the remote users IP, if the remote user has a dynamic IP, then you can configure them to use a service like dyndns, or you can require them to make a vpn to the office first. lock filezilla down by setting up a group called by the project name which has default permissions, and add users to this group, to accpet the right IPs and users, set the users home directory and alias any other folders so they appear in the right place, setting the permissions on the folders as you go.. set filezilla to log stuff. If you want to go the same route creating a user for filezilla like before do it, and grant it access to the folders that you used before, then when filezilla runs as a service, goto services.msc and change its logon to use the new username and password. > Thanks for helping. > if your remote user does have a static IP, then you can use your router to port forward port 21 to the local evaluation server (which should also be set to have a static IP on the lan) as well as port 80 for the remote user using the IP restrictions of the router. This way he can FTP over SSL, and test the result. If many more users are needed then enable port forwarding for any remote IP, and just use filezilla and apache to lock down the IP address of who can connect useing allow,deny in apache and the built in IP banning in filezilla > PS (I know it would be better to do a linux server, but this server must be > kept in XP). XP is fine, it will all work beautifully, but of course it would be more elegant to go use SVN, because then all users whether on LAN or remote use the same URL to access the files, no need for ftp at all, dreamweaver would then be set up to just edit the file locally, and you would use a commit to change the files that apache sees, theres a fantastic step by step on installing svn here: http://www.stanford.edu/~bsuter/subversion-setup-guide/ > > Bob good luck, matt |
|
|||
|
WOW !!!! I'll try when I've one week !!!!
Thanks for your answer. Bob "shimmyshack" <matt.farey@gmail.com> a écrit dans le message de news: 1165864605.826974.15600@16g2000cwy.googlegroups.co m... > > Bob Bedford wrote: >> Hi all, >> >> I've to set up an apache server with PHP and MYSQL on a WinXP machine in >> our >> local network (LAN) wich must be available for all webmasters for a huge >> project. We have DW MX 2004 and DW 8. > dreamweaver has a basic check out/in facility and so you /can/ do this, > but have you thought of using svn or svk which would be __far__ nicer. >> >> This server will be the evaluation server (where we will developp and >> test >> pages) then the site will be uploaded on a hosting server. >> >> Wich is the best way to work in a LAN ? must I share a directory ? Will >> it >> be protected from outside attacks ? > > if you do share a directory, just make sure that the firewall running > on your evaluation server only permits connections from the local > subnet. Also if you disable simple file sharing (my > computer->tools->folder options->scroll down, uncheck "use simple file > sharing") then you will be able to add a user to the system ( using > start->run->compmgmt.msc "local users and groups" -> right click users > -> new user -> strong password, password never > expires->create->close->double click the user you created->membor of > tab->remove all entries in the list till its blank, apply/ok), called > maybe "<projectname>" and set a strong password, > now you have the user which isnt able to access anything on the system > because it is not a member of any group, you then go to the root of > project, and to any folders you wish the user to be able to acess, and > right click it ->properties ->security tab-> add the user, click full > control -> apply/ok > you have now created a secure account which can only access the folders > it needs to users of dreamweaver on the local net will need the > password. > >> Also, it may appens that a webmaster will work from his home. Would it be >> possible to access to the server by outside ? how to set up things. >> > download and setup filezilla server with a strong password. use it to > create an SSL certificate, and go through the options setting the > remote users IP, if the remote user has a dynamic IP, then you can > configure them to use a service like dyndns, or you can require them to > make a vpn to the office first. lock filezilla down by setting up a > group called by the project name which has default permissions, and add > users to this group, to accpet the right IPs and users, set the users > home directory and alias any other folders so they appear in the right > place, setting the permissions on the folders as you go.. set filezilla > to log stuff. > If you want to go the same route creating a user for filezilla like > before do it, and grant it access to the folders that you used before, > then when filezilla runs as a service, goto services.msc and change its > logon to use the new username and password. > >> Thanks for helping. >> > if your remote user does have a static IP, then you can use your router > to port forward port 21 to the local evaluation server (which should > also be set to have a static IP on the lan) as well as port 80 for the > remote user using the IP restrictions of the router. This way he can > FTP over SSL, and test the result. If many more users are needed then > enable port forwarding for any remote IP, and just use filezilla and > apache to lock down the IP address of who can connect useing allow,deny > in apache and the built in IP banning in filezilla > > >> PS (I know it would be better to do a linux server, but this server must >> be >> kept in XP). > > XP is fine, it will all work beautifully, but of course it would be > more elegant to go use SVN, because then all users whether on LAN or > remote use the same URL to access the files, no need for ftp at all, > dreamweaver would then be set up to just edit the file locally, and you > would use a commit to change the files that apache sees, > > theres a fantastic step by step on installing svn here: > http://www.stanford.edu/~bsuter/subversion-setup-guide/ >> >> Bob > > good luck, > matt > > |