LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-07-2011, 03:35 PM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Rep: Reputation: 49
An apache question...


Hello:

I seem to have screwed something up on my apache in Slackware 13.37.

All of a sudden, when I enter http://localhost/vacation/ into either FireFox or Google Chrome, I get:

Code:
Index of /vacation

    Parent Directory
    .gitignore
    CHANGELOG.txt
    COPYRIGHT.txt
    INSTALL.mysql.txt
    INSTALL.pgsql.txt
<snip>
I use to get my actual Drupal 7.7 web site called vacation.

Does anyone know what I should do?

Thanks,
 
Old 09-07-2011, 03:38 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
probably during the update you overwrote your /etc/httpd/httpd.conf with a pristine one where you got php disabled so, not finding an index page (index.php) for the folder, the mod_dir kicks in showing you the folder contents.
I think you'll have to reconfigure apache.
 
1 members found this post helpful.
Old 09-07-2011, 03:45 PM   #3
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by ponce View Post
probably during the update you overwrote your /etc/httpd/httpd.conf with a pristine one where you got php disabled so, not finding an index page (index.php) for the folder, the mod_dir kicks in showing you the folder contents.
I think you'll have to reconfigure apache.
Thanks Ponce, I did do a Slackware 13.37 update today, I guess that is it.
 
Old 09-07-2011, 03:49 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
it's a little reminder to be careful when merging config files at the end of "slackpkg upgrade-all", for not overwriting existing services configurations
 
1 members found this post helpful.
Old 09-07-2011, 03:52 PM   #5
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by ponce View Post
it's a little reminder to be careful when merging config files at the end of "slackpkg upgrade-all", for not overwriting existing services configurations
You are exactly right! It did ask me and, like the inexperienced Slacker that I am, I chose Overwrite!!!!

Would 'merge' have worked better?

Thanks again.

Last edited by Robert.Thompson; 09-07-2011 at 03:53 PM.
 
Old 09-07-2011, 03:54 PM   #6
altor31
LQ Newbie
 
Registered: May 2010
Distribution: Slackware
Posts: 16

Rep: Reputation: 5
I don't know how you do your upgrade, but if you use slackpkg you can compare the new configuration file and the old during the installation. Usualy at the end of upgrade, I used (P)rompt and choosed in fonction.
 
1 members found this post helpful.
  


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
Question about Suse, Apache and Apache's "Threads" mechanism wessie Linux - General 0 07-28-2006 03:31 AM
apache 2 question scialom Linux - Software 1 04-26-2004 10:29 AM
Apache question BrettPower Linux - Networking 3 03-13-2004 09:53 AM
apache question Xiangbuilder Linux - Networking 3 07-05-2003 12:14 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM

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

All times are GMT -5. The time now is 10:42 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
Open Source Consulting | Domain Registration