LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   public_html (https://www.linuxquestions.org/questions/linux-server-73/public_html-4175546433/)

xo)mora 06-25-2015 12:54 PM

public_html
 
Hi, could you help me setting directory public_html in web server?

Thanks a lot.

HMW 06-25-2015 02:51 PM

It depends... if you are using Apache, please see this link:
https://httpd.apache.org/docs/2.2/ho...blic_html.html

John VV 06-25-2015 03:46 PM

if you would provide a LOT more information then we could

but you have provided NO information at all


you are missing even the most BASIC bits of information


like
What Operating system is the server running on
WHAT !!! is the server ?
apache?
nginx ?
or any other ?

xo)mora 06-26-2015 09:41 AM

The versions are:

Operating system is RHEL 5.4?
Apache /2.2.3

HMW 06-26-2015 12:00 PM

Quote:

Originally Posted by xo)mora (Post 5383319)
The versions are:

Operating system is RHEL 5.4?
Apache /2.2.3

Well, then see my previous post. The official Apache documentation contains all the info you need.

John VV 06-27-2015 01:16 AM

5.4???
you are aware you are missing 7 upgrades to the old legacy support RHEL5 OS

the current is RHEL 5.11

check the output of this
Code:

su -
cat /etc/redhat-release

if it states 5.4
UPGRADE ASAP!!!
Code:

su -
yum --releasever=5.11 upgrade


5.4 is MISSING!! the last 5 years of SECURITY UPDATES
the last 5.4 update was in May of 2010

make SURE you are running 5.11

THEN worry about a "public_html" folder
FIX your security first

because the "public_html" folder is for public access


All times are GMT -5. The time now is 10:16 PM.