LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   No Apache2 package in 13.37? (http://www.linuxquestions.org/questions/slackware-14/no-apache2-package-in-13-37-a-4175460462/)

wolf2600 05-02-2013 12:03 PM

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.

ponce 05-02-2013 12:17 PM

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".

wolf2600 05-02-2013 12:20 PM

So where would the sites-enabled directory be?

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


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

ponce 05-02-2013 12:22 PM

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

wolf2600 05-02-2013 12:30 PM

Quote:

Originally Posted by ponce (Post 4943524)
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.

ponce 05-02-2013 12:31 PM

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.


All times are GMT -5. The time now is 09:40 PM.