LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-06-2003, 11:24 PM   #1
Ninja_212
Member
 
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
How to setting up web server on slack..??


Whats'up guys ... i need some help here,.. can someone help me on setting up web server on slack cuz' what i realized that setting up webserver on slack are not as easy as setting it up in redhat or mandy...

Can please someone give me a clue where i could start...

thank's before...

-------------------------------------
Slackware Linux... thoose penguins they sure ain't normal....
 
Old 11-07-2003, 12:18 AM   #2
excel28
Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
first have the service executable (chmod +x /etc/rc.d/rc.httpd ), then start it (/etc/rc.d/rc.httpd start), and it should work from there. go to your webbrowser and type http://127.0.0.1 and see if you get the apache screen. if you do, then you're basically done. now in the webbrowser type in http://ipaddress and you should see the same apache screen, and if you do, then you're all set.
 
Old 11-07-2003, 09:20 AM   #3
melquiades
Member
 
Registered: Jul 2003
Location: Northern Scotland
Distribution: Slackware 9.1
Posts: 48

Rep: Reputation: 15
you'll also probably need to go through the /etc/apache/httpd.conf file which controls most aspects of the server, including the document root, i.e the root directory that is shown when you look at http://localhost - most of the file is well commented so you should be able to figure out what you need to do

if you want to get PHP working that is also pretty simple, just uncomment the line at the end of the httpd.conf file and it should start up fine,
also check that the following line is uncommmented in mod_php.conf
AddType application/x-httpd-php .php
BUT do not uncomment the addmodule line in the same file, it's not needed for some reason
PHP can be tested by running phpinfo() from a php file under the document root,

i.e. phpinfo.php

<?php
phpinfo()
?>

if you want mysql set up that's a little more work but drop a note back if it's needed

hope it helps
mlqds
 
  


Reply



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
Setting up a web server and not only that... axelwing Linux - Newbie 4 05-19-2005 09:40 AM
Setting up a Web Server gtgoku Linux - Networking 3 03-14-2005 11:34 PM
setting up a slack, apache server with php and a sql server. caged Slackware 1 10-25-2004 04:45 AM
Setting up a web server lemonsensation Linux - Newbie 3 08-13-2004 12:20 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:06 PM.

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