LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-02-2013, 12:03 PM   #1
wolf2600
LQ Newbie
 
Registered: Nov 2010
Distribution: Slackware
Posts: 29

Rep: Reputation: 1
No Apache2 package in 13.37?


Trying to install Apache2, which I believe I was able to do using slapt-get when I was on 13.1. Installed 13.37 a while back and neither slapt-get nor slackpkg has an Apache2 package, only httpd.
 
Old 05-02-2013, 12:17 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
apache2 is the name given to the package by some distributions, the original name of the application is httpd.
it's the same thing.
it switched back to its original name with slackware-12.0, first there was the package of version 1.x and it was called "apache".

Last edited by ponce; 05-02-2013 at 12:20 PM.
 
Old 05-02-2013, 12:20 PM   #3
wolf2600
LQ Newbie
 
Registered: Nov 2010
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 1
So where would the sites-enabled directory be?

Or is /etc/httpd/httpd.conf used instead?


edit: ah... /etc/httpd/extra/httpd-vhosts.conf?

Last edited by wolf2600; 05-02-2013 at 12:23 PM.
 
Old 05-02-2013, 12:22 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
your question is not very clear.

If you want to know which is the main configuration file, yes, it's that, but configuration has been broken in many subfiles beside the main one, you can find the rest in /etc/httpd/extra/ (and some stuff is in the /etc/httpd directory itself).

there's no sites-enabled folder, that's stuff from other distributions: yes, have a look at /etc/httpd/extra/httpd-vhosts.conf

Last edited by ponce; 05-02-2013 at 12:28 PM.
 
Old 05-02-2013, 12:30 PM   #5
wolf2600
LQ Newbie
 
Registered: Nov 2010
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
I cannot understand your question.

If you want to know which is the main configuration file, yes, it's that, but configuration has been broken in many subfiles beside the main one, you can find the rest in /etc/httpd/extra/ (and some stuff is in the /etc/httpd directory itself).
I took a class in Ruby on Rails last semester and we used Apache2, so I have all the instructions on how to configure a site's virtual host file in:
/etc/apache2/sites-enabled/000-mysite

<VirtualHost *.:80>
DocumentRoot /var/www/mysite

and that sort of thing...

I think I just need to uncomment the vhosts line in httpd.conf and then edit the ./extra/httpd-vhosts.conf file.
 
Old 05-02-2013, 12:31 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
yes, that is.

you have also to install rails: an easy way is through gem
Code:
gem install rails
have a look at "gem --help" and if you want it packaged also to gem2tgz.

Last edited by ponce; 05-02-2013 at 12:43 PM.
 
  


Reply

Tags
13.37, apache2, slackpkg


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BASH: service apache2 start => check apache2 response dragonetti Linux - Newbie 2 10-29-2011 11:01 AM
Compiling LAMP from source - apache2 error “no MPM package installed” nicky77 Linux - Software 2 03-09-2010 09:19 AM
Apache2 - have to restart apache2 process every 10 mins to clear /tmp directory.... levi dehaan Linux - Software 8 09-01-2009 06:34 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt Suse/Novell 14 04-18-2006 11:36 AM
apache2 + php4 package problems atheist Debian 4 10-25-2004 09:22 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration