Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 09-24-2004, 09:00 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 13

Rep: Reputation: 0
apache server setup and how to place files in the var/www/html directory

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

Old 09-24-2004, 09:06 PM   #2
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
Nice crossposting

Check out httpd.conf. There are many pages out there dedicated to this one file, the magic one for Apache.

That file will also tell you where to put your html files.

The 'cp' command is good for placing files in that directory as well. Try 'man cp' You can try ftp as well, if you have that set up.
Old 09-25-2004, 12:03 AM   #3
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Really, a triple post...

/me shakes head and walks away...

Last edited by bulliver; 09-25-2004 at 12:05 AM.
Old 09-25-2004, 02:38 AM   #4
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

This thread is closed. Please continue in any of the other multiple postings.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory index forbidden by rule: /var/www/html/ danimaldaisy Linux - Networking 6 02-11-2008 01:32 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - Newbie 7 09-28-2004 04:18 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - General 2 09-25-2004 01:29 AM
how to setup ftp user's diretory as /var/www/html lzyking Linux - Software 4 02-25-2003 12:58 PM
Giving a user CHMOD rights to the /var/www/html directory? scubes13 Linux - Networking 3 08-18-2002 03:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration