Apache problems

Posted on 2006-06-12
Medium Priority
Last Modified: 2011-04-14
HI Experts

I have runing apache in fedora 4 server , we was having an easy way tu publicate website for regular users on the company , it was a folder in the users homes , an wen you put eneything there it get automaticaly in the user website , like :


My problem its now after i restart the server its not working any more , can you pleae help me to find out what to od ?


Question by:diegomirner
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
LVL 28

Expert Comment

ID: 16883950
I would guess that either you have to instances of apache on the machine, or the config file was messed up somehow (a restore maybe)?)
do an "updatedb" then a "locate httpd" and check the output to see if indeed you have more instances of apache. in which case, stop the one running and start the correct one.
if you only have one instance, then look for the config file and check for something like the below:
<IfModule mod_userdir.c>
    UserDir public_html

# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
<Directory /home/*/public_html>
    AllowOverride All
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#        Order allow,deny
#        Allow from all
#    </Limit>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>

and make sure it has correct configuration options

Author Comment

ID: 16884011
Hi Ciuly

not , i didnt lost the config , i jest realice that it dosent work becouse the PDC its notworking and we point the web sites to the \home\username\www
and for the moment this folders are not reachable.

Can you please provide me a little HowTO set up a simple website were i can store same files in order to share in one web site


LVL 28

Expert Comment

ID: 16884024
I am not sure I understand what you want.
something like:

on the same machine:

and site 1 and site 2 can use files from site?


and otehrsite from domain2 can use files from site of domain 1?
(the above is on same machine. if you want on different machines it's trickier but not impossible)
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.


Author Comment

ID: 16884055
NO , sorry , what i need if a Howto do i simple web site .This web site its  to publicate big files in order to be abalible to download from the browser.

LVL 28

Expert Comment

ID: 16884112
hm ... there are a lot of howto's out there. this is one: http://www.tldp.org/HOWTO/Apache-Overview-HOWTO.html

but as I look at it, in this question you ask about a problem with user directories and stuff like that. is this latest request related to that or not? if yes, give some more information (you might not even need a howto, just to add a few lines in the config file)
LVL 51

Expert Comment

ID: 16884497
simply point DocumentRoot in httpd.conf to the directory you want to use as your website (it should already be there)

Author Comment

ID: 16884955
We had a system wich alow user to publish in their own web site by a simple drag and drop inside of their own folder call ( WWW ) in the home directory of each user.But this folder its not accessible for the moment because the domain its not up .
What I need its add in the config of the apache with its running properly , another web site in order to provide them a momentanian  solution , but I don’t have experience in apache , its possible to add another web site in a easy way ?

LVL 51

Accepted Solution

ahoffmann earned 1500 total points
ID: 16885088
as already said: ther should be a DocumentRoot defined
simply allow access for your users to that directory.

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question