-
Web Hosting on Apache Server
Hi,
I have been using Knoppix for 5 days ( Yippeee ). Still tryin' out new things and it's great. Managed to save my Knoppix Configuration and create a persistance Home on my USB thumb drive.
I'm tryin to host my web site (ALL HTML) using apache server built into Knoppix. I can't copy my files to /var/www cos i'm running off my Live-CD and it's write protected (I think). The index page for apache (http://localhost) says that i can create a public_html folder in my /home to host my web site. I did that but somehow i get a error.
Can someone pls tell me what i'm doin wrong???
In my web browser I'm typing "http://localhost/user/foldername.
Thanx in advance.
-
Senior Member
registered user
You need to be root to do this.
You can do it graphically by running these commands from a terminal window as user knoppix
su root <enter>
then, at the root prompt
konqueror<enter>
Then you can browse the filesystem and write/copy files to the /var/www directory from within konqueror.
Once you've got plain html pages working you might like to try out the link below and give php, perl and bash cgi scripting a whirl.
http://www.knoppix.net/forum/viewtopic.php?t=21221
Regards,
Mark
Similar Threads
-
By johnsmith01 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-25-2005, 05:13 AM
-
By Josh83 in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 04-15-2005, 08:14 PM
-
By explosion242 in forum MS Windows & New to Linux
Replies: 2
Last Post: 03-29-2005, 05:56 AM
-
By Zero_1984 in forum Networking
Replies: 2
Last Post: 08-10-2004, 10:02 PM
-
By Zoplax in forum Customising & Remastering
Replies: 2
Last Post: 10-15-2003, 09:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

Compaq ProLiant 1500R 5/100 rack server, Series 3155, with IBM 2.1GB HD, VINTAGE
$295.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

Lot of 3 IBM 00JY196 ServeRAID M1210 PCI Express SAS SATA Storage Controller
$68.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00