Sponsored Content
Top Forums Shell Programming and Scripting Apache webserver troubleshooting Post 302910096 by Akshay Hegde on Tuesday 22nd of July 2014 11:45:19 AM
Old 07-22-2014
Did you forget to replace User and Group in httpd.conf ?

if so try this

Code:
$ apache_user="user"; apache_group="yourgroup"
$ sed -i 's/User daemon/User '"$apache_user"'/g;s/Group daemon/Group '"$apache_group"'/g' httpd.conf

 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Logout Apache WebServer!

I've just started an Apache WebServer a few days ago. I'm using a web site interface for uses to interact with when they login. There are only 5 accounts for my server at the moment. How would i create a logout link so that when the user wants to end their session and logout I can see this in... (1 Reply)
Discussion started by: cipher
1 Replies

2. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies

3. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

4. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

5. Ubuntu

Apache Server troubleshooting

I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything. I'm using Ubuntu Server 10.10. a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Discussion started by: lorewap3
1 Replies

6. UNIX for Advanced & Expert Users

apache webserver url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

7. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies

8. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

9. Web Development

How to enable x-client-ip address in apache webserver LogFormat?

how to enable x-client-ip address in apache webserver LogFormat i tried below option, but no luck... 1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3.... (0 Replies)
Discussion started by: raghur77
0 Replies
idmapd.conf(5)                                                BSD File Formats Manual                                               idmapd.conf(5)

NAME
idmapd.conf -- configuration file for idmapd, the NFSv4 ID <-> Name Mapper SYNOPSIS
Configuration file for idmapd, the NFSv4 ID <-> Name Mapper DESCRIPTION
The idmapd.conf configuration file has two sections, initiated by the strings [General] and [Mapping]. Each section may contain lines of the form variable = value The variables allowed in the General section are Verbosity, Pipefs-Directory, and Domain, whose values have the same effect as the arguments to the -v, -p, and -d commandline options, respectively. The variables allowed in the Mapping section are Nobody-User and Nobody-Group, which have the same effect as the -U and -G commandline options. EXAMPLES
An example /etc/idmapd.conf file: [General] Verbosity = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs Domain = localdomain [Mapping] Nobody-User = nobody Nobody-Group = nobody SEE ALSO
idmapd(8) AUTHORS
The idmapd software has been developed by Marius Aamodt Eriksen <marius@citi.umich.edu>. BSD July 16, 2003 BSD
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy