Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-21-2005, 08:11 AM   #1
Registered: Nov 2005
Location: The Netherlands
Posts: 66

Rep: Reputation: 15
Apache on fedora core 3, how to configure diferent domains & security


I'm trying to setup my webserver (itś a test server for my company)
but i ran into a few problems,

1) i use php admin which needs to be htacces protected... but i can't seem to find any settings how to protect it with linux password & username...

2) i currently have 3 diferent domains and i want to point them to 3 diferent directoryś

the directory's are:

.nl ( i can't post urlś yet but it is compnetix infront of every extention)

.com ( i can't post urlś yet but it is compnetix infront of every extention)

.net ( i can't post urlś yet but it is compnetix infront of every extention)

is this possable? if so... how?

i'm not that good in linux.. so i really hope you can explain it to me in a easy way...

thanks already,
Old 11-22-2005, 05:02 PM   #2
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
Access Control
Virtual Hosts
This, and other documentation, available from the apache web site.

to use your Fedora Login, which I believe uses PAM try this which I found by searching for .htaccess pam in google.
mod auth PAM
This is probably above what you need to get into if you only have a few users. Instead just use basic authentication built into APACHE. Do be warned however that basic auth is horribly insecure unless it is done over an ssl connection. I imagine, though I don't' know for sure, that mod_ssl is built into fedora. I'm sure someone else will chime in here with better distro specific info than mine, but for now I would check out the above excellent tutorials.

Last edited by uopjohnson; 11-22-2005 at 05:05 PM.


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
PHP5 & HTTPD (apache) on Fedora Core 4 fatum112 Linux - Software 4 12-02-2005 05:44 PM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
allowing apache to talk to mysql on fedora core 3 with security enhancement enabled m3rajk Linux - Security 1 03-15-2005 06:13 PM
Sendmail, Adding new emails on different domains on Fedora Core 2 Ampex Linux - Software 0 02-18-2005 03:06 AM
Apache & IIS & security.... m_pahlevanzadeh Linux - Security 4 06-25-2003 01:51 PM

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration