General :: DocumentRoot [/etc/httpd/var/www/html] Does Not Exist?

Nov 21, 2010

I unable to start the httpd service coz i try to configure a subdomain. It prompt the error below:

[root@server conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/etc/httpd/var/www/html] does not exist

[code]...

View 7 Replies


ADVERTISEMENT

Debian :: Apache 2 - Changing DocumentRoot To Public HTML

Mar 25, 2010

I'm pretty new to Debian, and I'm trying to set up Apache 2, and I want to set the DocumentRoot to public_html in my home dir, but I run into some problems.

I tried to change this (/etc/apache2/sites-available/default):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None .....

When I restart apache I get a 403 error, and when I change it back to its original, it works fine. I want to change the DocumentRoot so I can upload files via FTP to ~/public_html.
~/public_html has the mode 777.

View 9 Replies View Related

Fedora Servers :: Junk Added To HTML Files (HTTPD / VSFTPD)

Feb 16, 2011

I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.

Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other computer.

Code: .....
But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.

View 6 Replies View Related

CentOS 5 Server :: HTTPD - Forbidden Dont Have Permission To Access /index.html?

Mar 3, 2010

Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.

View 2 Replies View Related

Server :: Change The Webroot Of The Httpd Server - Directory Doesn't Exist - CentOS 5

Jun 1, 2009

I have just configured CentOS server my new office. This is the first time I am using CentOS.

Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.

To achieve this, what Do I need to do?

The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?

View 2 Replies View Related

Fedora Installation :: Start The Service Of Httpd Error Message Displayed: Starting Httpd: (98)Address Already In Use ?

Sep 19, 2010

I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80

View 1 Replies View Related

Slackware :: Typo In As-installed /etc/httpd/httpd.conf?

Dec 24, 2010

I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?

Code:

View 9 Replies View Related

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart

[code]....

View 3 Replies View Related

Server :: Reverse Proxy - With HTTPD Httpd-2.2.3-29.el5

Jul 30, 2010

We are using this url on our testing box and this ip is reverse proxy IP ( 10.192.64.52)

Without reverse proxy:- URL is working fine.

http://10.192.16.77/akc-qa/arsys/ser...TS000000001430

But with reverse proxy its putting escape [%25] in between %3a

[url]

Is it possible to write a rewrite rule to bypass escape [NE] for this particular URL?

View 1 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

CentOS 5 Server :: Httpd Running Very Slow "/var/lock/subsys/httpd': No Space Left On Device"?

Jun 10, 2011

Running CentOS 5 x64 And today my httpd is running very slow and I can't find a fix. Looked all over different forums

When starting httpd I get the message: /var/lock/subsys/httpd': No space left on device I checked that directory above and there is no file called httpd tried rebooting server

Can't do updates too:
[root@u15438957 ~]# yum update
Loaded plugins: fastestmirror, priorities
rpmdb: unable to join the environment

[Code]...

View 4 Replies View Related

Programming :: Client Side To Include HTML Within HTML?

Sep 12, 2009

what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:

Quote:

<script type="text/javascript" src="path to file/include-file.js"> </script>

however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:

1) the fact that the included file is static html and because the text is included pretty much everywhere

2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.

View 1 Replies View Related

General :: /var/log/httpd/sea_urchin Keeps Regenerating

May 10, 2011

My predecessor uninstalled the Urchin software from our RHEL5 server, but this /var/log/httpd/sea_urchin log keeps regenerating every Monday. We cannot figure out why. I am assuming it has something to do with logrotate. I am newbie, so be gentle. How can I stop it? Is there something we are overlooking?

View 1 Replies View Related

General :: Activate CGI Scripts In The Httpd?

Aug 11, 2011

I need to activate CGI scripts in the httpd but there is something wrong. I need it to work on the virtual host for ufo.se I get this error message when I try to run a test script:Forbidden You don't have permission to access /cgi-bin/test.cgi on this server.

Code:
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>

[Code]...

View 3 Replies View Related

General :: Does Apache Need To Own Var/log/httpd/logfiles.log

Nov 25, 2009

When creating sub-domains, and creating log files for each domain, do I need to ensure that apache owns the log files, so that it can write to it? As I notice they are owned by root, obviously whom I used to make the file...

View 2 Replies View Related

General :: Logrotate Httpd Log Files ?

Jan 11, 2010

I need to logrotate logs in directories in /var/log/httpd/.

There are 4 directories in /var/log/httpd/... these directories are /var/log/httpd/access/ /var/log/httpd/debug/ /var/log/httpd/error/ /var/log/httpd/required/

Each of the access, required, error and debug directories have around 20 to 30 access log files of different locations for example:mumbai-access.log, pune-access.log etc..same is the case for 'error' dir 'required' dir and 'debug' dir in /var/log/httpd/

I need to clean up the logfiles in all the 4 directories access, error, debug and required...

I have made a custom logrotate file as follows:

Is the above config correct?

Am I missing something? Will this logrotate the files in /var/log/httpd/access, /var/log/httpd/error, /var/log/httpd/required and /var/log/httpd/error ?

Do i need to include following line in postrotate " /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true" ?

View 3 Replies View Related

General :: What Is (1xx 0, 2xx 8, 3xx 0, 4xx 3, 5xx 0) In Logwatch Httpd Section

Nov 27, 2010

In this part of logwatch:

Code:
--------------------- httpd Begin ------------------------
0.12 MB transferred in 11 responses (1xx 0, 2xx 8, 3xx 0, 4xx 3, 5xx 0)

[code]....

View 2 Replies View Related

General :: Set Mysql To Start 3 Minutes Before Httpd?

Sep 22, 2010

I have a big database, which should "build up" before receiving requests, so i need httpd to start about 3 minutes after mysql start, so it prevents the visitors to start querys to the database, and making server load high. How can i do this.

View 10 Replies View Related

General :: Var/log/httpd/sea_urchin File - Shut It Off ?

Sep 13, 2010

Does anyone know about the sea_urchin log? what does it do? how can I shut it off. there seems to have an automatic process somewhere because every time I deleted the var/log/httpd/sea_urchin log file, it will regenerate the log file again on sunday.

View 5 Replies View Related

General :: Httpd Vs Tomcat In Dynamic Content?

Jan 13, 2010

I'm developing some small application runs on tomcat 6This web application just query data from MySQLBut I'm concern about performanceHow can I check how many request It can serve as well ?I'm thinking about to change the application to runs on httpd (will write in PHP)Normally, how many request httpd can handle for simple database query ?

View 5 Replies View Related

General :: Backing Up Httpd.conf On CentOS 5

Jan 13, 2011

How to back up my httpd.conf from my server to my computer and only found one solution via a google search

[url]

I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak

I wanted to confirm this with an expert before I do damage that I cannot reverse.

View 3 Replies View Related

General :: Error While Running Httpd.conf ?

Aug 19, 2010

I installed Red Hat AS 5.2, ran iptables.sh to put firewall on.

When i try to run httpd.conf i am getting below errors:

I do not understand why i am getting these error, i have conf.d file in place.

View 6 Replies View Related

General :: Enable WebDAV In Apache Httpd?

Oct 11, 2009

I have been reading [URL] to setup the same. But I am facing an issue here. Whenever I am editing the file:

Code:

Alias /webdav /var/www/webdav
Dav on
in wedav.conf under /etc/httpd/conf.d folder.

It says:

Code:

[root@chat conf.d]# service httpd restart
Stopping httpd: [FAILED]

[code]...

View 2 Replies View Related

General :: Httpd Wont Start - Log Files Deleted

Feb 26, 2011

Im having problems getting the httpd service to start. Instead of clearing my log files in var/log i accidently did a force remove command on all the log files within the log directory. I'm not unable to start my httpd service and of course unable to check my log files to see whats what.

View 9 Replies View Related

General :: Selinux - Ftpd And Httpd Need To Access The Same Directory?

Jun 17, 2011

What if two programs say ftpd and httpd need to acces the same directory? Any way to set context type of that directory to httpd_t and ftpd_t? What do you do in a case like this?

View 2 Replies View Related

General :: Possible To Get Previous Apache Configuration File From HTTPD

Feb 18, 2011

I have one previously compiled apache server from source. I would like to know is there any option to get previous configuration file from /etc/httpd/.

View 9 Replies View Related

General :: (Applying Patch To The Kernal) TUX Httpd Accelerator

Jan 6, 2011

I have installed the tux-3.2.18-9.fc6.i386.rpm succefully in CentOS 5. I have got the following error, when I apply the patch tux3-2.6.18-1 to the kernal.

[Code]...

View 4 Replies View Related

General :: Fedora13 - HTTPD Dead But Subsys Locked

Jul 24, 2010

I have installed fedora 13 recently and installed IDPS(snort) on it. But now I am not able to start service httpd. When I write service httpd start, it says OK, but I know it is a false message bcoz when I write service httpd stop it gives me Failed.

On writing service httpd status it gives a message:
httpd dead but subsys locked
I have tried "rm -f /var/lock/subsys/httpd" - no solution
yum update hasn't solved my problem as well.

I have to show my project running at my college. And I can not understand properly the technical instructions as I am new to linux.

View 2 Replies View Related

General :: HTTPD Service Fail To Start In RHEL6

Jun 7, 2011

I configured httpd.conf. With ip, port 80 and specified the document path correctly. But service httpd restart shows httpd stop fail, httpd start fail.

View 1 Replies View Related

General :: Unable To Install RHEl5 Through Httpd Server?

Dec 1, 2010

I am not able to install RHEL5 through httpd(apache) server , i checked on the host system , apache server is working fine and i am also able to navigate to my installation dir through browser.

problem:
I want to install RHEl5 from guest OS in Vmware:
1.I inserted cd-rom and change bios setting to cd rom
2."linux askmethod" , then select http protocol.

3. but system never retrive files from installtion dir instead retrive from cd rom used for only booting purpose.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved