ScritpAlias problem and (still) failure to comprehend?
I had received some tutelage via an earlier reply toa couple of lines which I adjusted, and this post's subject was part of the return after trying to start Apache. I have searched a decent amount and can't find what the answer is, but I must be honest that I've not delved into the Documentation either, mostly due to no time to relax and deal with my intermittent Dyslexia. Just today I swore a "9" on my own published (Musical diagram) was a "6" and told the person I was involved that my diagram was a typo, then after looking twice more discovered I had been looking at the "6" as an inverted "9". I couldn't believe it!
Anyhow, here's my current failure message:
linux-2u6o:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 60 of /etc/apache2/default-server.conf:
ScriptAlias takes two arguments, a fakename and a realname
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
Here's the file: default-server.conf (line 60 asterisk'd since bold or text color wanted to insert html tags into the post) for analyisis, and I'm sorry that I don't know how to write the correct info there. I've not had to since I did my very first Linux machine in '08:
# Global configuration that will be applicable for all virtual hosts, unless
# deleted here, or overriden elswhere.
# Configure the DocumentRoot
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# for more information.
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
# Controls who can get stuff from this server.
Allow from all
# Aliases: aliases can be added as needed (with no limit). The format is
# Alias fakename realname
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
Alias /icons/ "/usr/share/apache2/icons/"
Options Indexes MultiViews
Allow from all
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
Options +ExecCGI -Includes
Allow from all
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
# To disable it, simply remove userdir from the list of modules in APACHE_MODULES
# in /etc/sysconfig/apache2.
# Note that the name of the user directory ("public_html") cannot simply be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
# The actual configuration of the directory is in
# Include all *.conf files from /etc/apache2/conf.d/.
# This is mostly meant as a place for other RPM packages to drop in their
# configuration snippet.
# You can comment this out here if you want those bits include only in a
# certain virtual host, but not here.
# The manual... if it is installed ('?' means it won't complain)