Quote:
Originally posted by dramous
I am new to linux, but i have a great understand if some one would direct me in the right path, My problem is correctly setting up the apache software and know how to place the files into the var/www/html folder.
My server will be a standalone system that will host a single site that will run php, cgi, and run a mysql database. I need the exact syntax on setting it up under this situation. also how to place my pages in the html folder. Please help
Andre'
|
To place files in your /var/www/html folder one they are saved all you have to do is copy or move them into the folder.
Code:
cp ./filename.html /var/www/html
or
mv ./filename.html /var/www/html
If you get a permission deined error you may have to copy them as root. Do do this use the su command. Just type "su" in the console and it will ask you for the root password. Put in the root password and then execute the commands listed above.
I hope this helps, and if you have any further questions please post back here and I'm sure myself or one of the many other helpful people on the site will be able to help you.
Cheers