LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-25-2015, 12:54 PM   #1
xo)mora
LQ Newbie
 
Registered: Dec 2013
Posts: 24
Blog Entries: 1

Rep: Reputation: Disabled
public_html


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

Thanks a lot.
 
Old 06-25-2015, 02:51 PM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
It depends... if you are using Apache, please see this link:
https://httpd.apache.org/docs/2.2/ho...blic_html.html
 
Old 06-25-2015, 03:46 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 ?
 
Old 06-26-2015, 09:41 AM   #4
xo)mora
LQ Newbie
 
Registered: Dec 2013
Posts: 24

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
The versions are:

Operating system is RHEL 5.4?
Apache /2.2.3
 
Old 06-26-2015, 12:00 PM   #5
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by xo)mora View Post
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.
 
Old 06-27-2015, 01:16 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
  


Reply

Tags
public_html



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
localhost and public_html RJDavison Linux - General 5 01-09-2005 02:48 PM
list public_html vasco1984 Linux - General 3 12-29-2004 12:59 PM
PHP and public_html MurrayL Linux - Security 2 11-08-2004 01:00 AM
/Public_html Folder....what is it? ZingSter SUSE / openSUSE 3 10-21-2004 05:02 PM
Cgi for public_html Drogo Linux - Software 2 05-29-2003 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:38 PM.

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