LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-02-2013, 01: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, 01:17 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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 01:20 PM.
 
Old 05-02-2013, 01: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 01:23 PM.
 
Old 05-02-2013, 01:22 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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 01:28 PM.
 
Old 05-02-2013, 01: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, 01:31 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,500

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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 01: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


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


All times are GMT -5. The time now is 10:43 AM.

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