LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-11-2010, 04:01 PM   #1
maikki
LQ Newbie
 
Registered: Jan 2009
Location: Slovak Republic
Distribution: Ubuntu 10.4
Posts: 26

Rep: Reputation: 15
deleted /etc/apache2


Hi all

I accidentally remove directory /etc/apache2 without backuping it. I succefully reinstal apache to work correctly, but I have now no module. I installed some of them from repos, but stil have no mod_rewrite for example and my apache2.conf tells me that in

Code:
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
is word Order misspelled or module is missing ... second choice is right I havce now no module to be enabled.

Please tell me how to restore them, but I think I have them already in my computer, but I have no *.conf and *.load files ... please help me restore my failure

thx
 
Old 05-11-2010, 05:38 PM   #2
EarthMind
LQ Newbie
 
Registered: Dec 2008
Location: Belgium
Distribution: OpenSUSE
Posts: 3

Rep: Reputation: 0
It's best that you do a re-installation, test it and then modify bits and test it again after every change.

Normally to enable mod_rewrite you just need to uncomment the line in the loadmodule section.
 
  


Reply

Tags
code


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] Compiling my own apache2 on debian -- no /usr/sbin/apache2 ??? jippen Linux - Server 2 11-30-2009 03:21 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
Kmail crashes when deleted mail is deleted dufferin Slackware 0 03-21-2005 03:23 PM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM


All times are GMT -5. The time now is 10:40 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