LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-26-2013, 10:32 AM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 269

Rep: Reputation: Disabled
disable alias?


I was following a tutorial on hardening linux, and one of the modules they disabled in apache was alias.

I was getting an error with it, and apache was not booting/restarting, and so I then decided to enable the module again, and it seems to work ok now. Is there any benefit to disabling the alias module in apache?
 
Old 04-26-2013, 12:44 PM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,067
Blog Entries: 4

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Quote:
Originally Posted by sniper8752 View Post
I was following a tutorial on hardening linux, and one of the modules they disabled in apache was alias.

I was getting an error with it, and apache was not booting/restarting, and so I then decided to enable the module again, and it seems to work ok now. Is there any benefit to disabling the alias module in apache?
I suggest you read from the source...http://httpd.apache.org/docs/current/mod/mod_alias.html and you can make your own assessment. And before "hardening anything", make regular backups.

Did this "tutorial" say why disabling this was needed?
Post the URL for this tutorial.
What you read is every bit as important as where you read it.

Have a Great Day!
 
Old 04-27-2013, 08:46 AM   #3
sniper8752
Member
 
Registered: Oct 2012
Posts: 269

Original Poster
Rep: Reputation: Disabled
So it maps urls to system files? so if I want /var/log/log.log, I would have to have this enabled?
here is the tutorial link: http://www.thegeekstuff.com/2011/03/apache-hardening/
 
Old 04-27-2013, 02:22 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,067
Blog Entries: 4

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
10 Tips to Secure Your Apache Web Server on UNIX / Linux says in part "If you are planning to install apache from source, you should disable the following modules. If you do ./configure –help, you’ll see all available modules that you can disable/enable.
...
alias – Mapping of requests to different filesystem parts[/CODE]

Did you install from source?
Quote:
Originally Posted by sniper8752 View Post
want /var/log/log.log
for what, pray tell?
Leave it alone. it has NOTHING to do with apache OR securing Apache.
 
  


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
LXer: alias.sh puts your Linux shell alias on the clouds LXer Syndicated Linux News 0 01-21-2013 12:00 AM
Wildcard email alias in /etc/alias file custangro Linux - Enterprise 1 10-02-2009 12:17 PM
Disable mail server and allow alias to work? Tony414 Linux - Networking 4 08-22-2008 01:01 PM
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM


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