I need host my project in linux (ubuntu) server. By default I will put the code in /var/www/. How do I create a custom directory structure and put my code over there or else suggest some way that I could run my code in a secure way in apache.

I need step by step procedure could anyone please help and guide me through this process?

link|improve this question

60% accept rate
feedback

closed as not a real question by Ward, Iain, Chopper3 Nov 10 '11 at 9:07

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

1 Answer

up vote 0 down vote accepted

Step by step procedures are normally outside the scope of SF answers.

By default /var/www is the DocumentRoot of the default vhost in Ubuntu.

To make a custom directory structure mkdir would the normal choice if you have access to a shell. If not you will need to set up an ftp server and configure an account with the correct permissions to access /var/www through the ftp server. You can then use an ftp client like filezilla to create yout directory structure and upload files etc.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.