-
Senior Member
registered user

Originally Posted by
punk000
i need to know what folder is the public shared one..... where i can put the index.html:P i just wanna know all these commands so that i can put them to a text file...... then ill be able to run them faster than having to type em in
To have apache start on boot edit the file /etc/init.d/bootmic.sh as root in a console and add the lines:
Code:
#Start the apache web server on boot for my web pages
/usr/sbin/apachectl start
Or you can use the command in the post above for the start either will work. the "shared" folder is set to /var/www in the file /etc/apache/httpd.conf with the DocumentRoot /var/www on line 1004 I believe you can change this to whatever you want check the apache docs that are included I just leave it as is and put my web pages in the /var/www.
When you boot you will see an error telling you that it could not determine the fully qualified domain name and it is setting it to http://127.0.0.1 (localhost) and that is how you can access your web pages while you are running. eg. http://127.0.0.1. http://localhost or http://hostname the hostname being the name of your machine in the file /etc/hostname. You will just see the place holder web page welcoming you to your new home page until you replace the index.html. Also you may have to give yourself permission to access the /var/www directory (can't remember at the moment it's been a while since I last did it).
You may also want to look into installing htdig if you want to be able to search the pages that you have it comes in handy when you are trying to find something but can't remember which page you have it on.
[edit]
A good place for web design tips and apache in general is bignosebird.
[/edit]
Similar Threads
-
By Hermanh in forum General Support
Replies: 8
Last Post: 03-27-2008, 05:38 PM
-
By Amdmhz in forum Networking
Replies: 1
Last Post: 10-18-2004, 05:41 AM
-
By mbokoma in forum Networking
Replies: 1
Last Post: 07-28-2004, 02:18 AM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 10-10-2003, 12:20 AM
-
By ktheking in forum General Support
Replies: 3
Last Post: 09-15-2003, 11:11 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

1x64GB Hynix HMAA8GL7MMR4N DDR4 PC4 2133P-LE0-11 4Rx4 ECC LRDIMM Server RAM
$320.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$288.19

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

Micron 8GB DDR4 3200MHz PC4-3200AA ECC RDIMM RAM (MTA9ASF1G72PZ-3G2E2
$30.00

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Nanya NT32GA72D4NFX3K-JR 32GB 2Rx4 PC4-3200AA K25 DDR4 RDIMM RAM Server Memory
$199.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Crucial 16GB DDR4 3200MHz SODIMM Laptop RAM Memory Module CT16G4SFRA32A.C8FF
$55.00

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC
$349.99