09-14-2009
As root,
cd ~moslemovic
chown -R moslemovic ./public_html
chgrp -R www ./public_html
chmod -R 755 ./public_html
That way moslemovic can edit any file in the folder and www can read/execute anything in the folder.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
In the apache documentation, they say to enable UserDir for all users except a specific list, write this:
UserDir Enabled
UserDir Disabled user1 user2 user3
But configtest gives me:
"Syntax error on line 533 of httpd.conf:
UserDir "enable" keyword requires a list of usernames."
When I... (1 Reply)
Discussion started by: Synbios
1 Replies
2. Solaris
Hi All,
I'm attempting to build Apache 1.3.27 on a new Solaris 9 system. I am using
following "Option 2" in the INSTALL of the mod_ssl-2.8.12-1.3.27, and I'm
stumped.
After I configure and make all the required components
the make of the Apache server itself stops at:
flex... (2 Replies)
Discussion started by: b_manu78
2 Replies
3. Solaris
Hi,
I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error,
ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory
Killedld.so.1:: Too many arguments
Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I'm a user of Debian 4.0. I installed apache 2.2 and add the functionality to support ~/public_html for each user. This is the permission of my public_html:
drwxr-xr-x 4 mj test 4096 2007-12-20 20:17 public_html
When I wanted to go through it and list the directory via my browser,... (6 Replies)
Discussion started by: mjdousti
6 Replies
5. Red Hat
Can anyone guide, what should be the entry in httpd.conf file to host a site in Redhat Ent Linux 5 without using nameserver?
Or process to set apache server in same dist of Linux.
Any link to understand apache well will be much appreciable. (3 Replies)
Discussion started by: naw_deepak
3 Replies
6. Debian
hi all,
I can't get my index.html to display on the web browser. Please point it out the reason.
this is what i had done so far:
1. I have registered a dns name pointing to my public ip (it is done automatic)
2. my server name is set same as the dns name
3. I have configured... (14 Replies)
Discussion started by: k2k
14 Replies
7. Web Development
Hello there,
I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser. The problem is that I wanted to be able to acces it from somewere else through the internet. I read some instruction and help sites related to this problem, like :... (2 Replies)
Discussion started by: spiriad
2 Replies
8. UNIX for Dummies Questions & Answers
Hi:
I am trying to read mails using pop3 protocol with the nail client. I have configurated the following files:
.mailrc
set NAIL_EXTRA_RC=~/.nailrc
.nailrc
shortcut myisp pop3://developers@afinformatica.com@mail.afinformatica.com
set... (2 Replies)
Discussion started by: chemi
2 Replies
9. Shell Programming and Scripting
I have a internal wesbite set up and any visitor must enter username / passwd as defined in apache (I've set these up using htpasswd)
I use cgi scripts set up using ksh or javascript to populate pages / tables etc.
I want to be able to get the apache username that the used authorised... (3 Replies)
Discussion started by: frustrated1
3 Replies
10. Shell Programming and Scripting
I have an apache 2.2 setup with LDAP auth enabled. The html form in the front end takes some values and processes them using perl script in the background. Is there a way I can get the username which is submitting the values in that perl script. I am planning to track who is doing what(with the... (1 Reply)
Discussion started by: Tuxidow
1 Replies
LEARN ABOUT OSX
apachectl
APACHECTL(8) apachectl APACHECTL(8)
NAME
apachectl - Apache HTTP Server Control Interface
SYNOPSIS
When acting in pass-through mode, apachectl can take all the arguments available for the httpd binary.
apachectl [ httpd-argument ]
When acting in SysV init mode, apachectl takes simple, one-word commands, defined below.
apachectl command
SUMMARY
apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the
functioning of the Apache httpd daemon.
The apachectl script can operate in two modes. First, it can act as a simple front-end to the httpd command that simply sets any necessary
environment variables and then invokes httpd, passing through any command line arguments. Second, apachectl can act as a SysV init script,
taking simple one-word arguments like start, restart, and stop, and translating them into appropriate signals to httpd.
If your Apache installation uses non-standard paths, you will need to edit the apachectl script to set the appropriate paths to the httpd
binary. You can also specify any necessary httpd command line arguments. See the comments in the script for details.
The apachectl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script.
OPTIONS
Only the SysV init-style options are defined here. Other arguments are defined on the httpd manual page.
start Loads the org.apache.httpd launchd job.
stop, graceful-stop
Unloads the org.apache.httpd launchd job.
restart, graceful
Unloads, then loads the org.apache.httpd launchd job.
fullstatus
Displays a full status report from mod_status. For this to work, you need to have mod_status enabled on your server and a text-based
browser such as lynx available on your system. The URL used to access the status report can be set by editing the STATUSURL variable
in the script.
status Displays a brief status report. Similar to the fullstatus option, except that the list of requests currently being served is omit-
ted.
configtest
Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about
the particular syntax error. This is equivalent to apachectl -t.
The following option was available in earlier versions but has been removed.
startssl
To start httpd with SSL support, you should edit your configuration file to include the relevant directives and then use the normal
apachectl start.
Apache HTTP Server 2005-09-20 APACHECTL(8)