LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2012, 04:34 AM   #1
tbaror
Member
 
Registered: Apr 2006
Posts: 37

Rep: Reputation: 0
Question Centos 6.2 revert Apache web setting to default


Hello All,

I have Centos 6.2 installed with webserver i have installed application that changed all web server settings.
Now i have issues creating new webroot/application and only ssl activated , i would like to revert back to initial settings, how can achieve it please?.

please advice

Thanks

Last edited by tbaror; 05-02-2012 at 04:59 AM.
 
Old 05-02-2012, 12:14 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Being able to revert here means you made a backup of the configuration file or you put it under control of a file versioning system (that's what I do) prior to Doing Stuff. Taking that as your cue to devise a backup plan, download the httpd package and extract the etc/httpd/conf/httpd.conf in any compressed file extraction tool or File Manager that understands the RPM format or run it through 'rpm2cpio', example:
Code:
mkdir /tmp/httpd-2.2.15-15; cd $_; rpm2cpio httpd-2.2.15-15.el6.centos.1.i686.rpm | cpio -idmv
 
  


Reply


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
setting a default web page using squid amitkush Linux - Server 9 05-06-2010 12:19 AM
Setting The Default Web Browser FrostBot Linux - Software 5 11-04-2004 07:55 PM
setting up ftp for default web folder stasjohn Linux - Newbie 6 08-18-2004 07:47 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Apache and setting default fonts dsiguy Linux - General 0 05-12-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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