Page 1 of 1

Enabling web browsing of recordings

PostPosted: Thu May 21, 2009 2:01 pm
by devafree
Hello

2.0.5 is excellent , thanks Matt and every one who worked on it.

I am not able to enable web browsing of Recordings on Asterisk server. I have followed the scratch install, on slackware 12.1, including all software installs prior to asterisk installation.

When i try to start apache, it says Allowoverride option not allowed here. If i comment out the Alias lines in httpd.conf, then all is fine.

Please advise where to resolve the issue.

Regards

devafree

PostPosted: Thu May 21, 2009 7:12 pm
by mflorell
Apache version?

PostPosted: Mon May 25, 2009 1:12 pm
by devafree
Hello

httpd -2.2.11 is the version, I followed the scratch install.

Regards

devafree

PostPosted: Mon May 25, 2009 2:27 pm
by mflorell
Where did you put the Alias lines in the httpd.conf file?

PostPosted: Wed May 27, 2009 4:11 am
by devafree
Hello

Here is what i have got inthe httpd config file: -

<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.

# Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"


# Options Indexes MultiViews
# AllowOverride None
# Order allow,deny
# Allow from all

# Forcetype application/forcedownload
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target 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 Alias.
#
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"

</IfModule>

If I am uncommenting the lines (of course only the lines as provided in scratch install), then apache does not start

Thanking you,

devafree

PostPosted: Sat May 30, 2009 2:27 pm
by williamconley
which one is it that you'd like to use? (each has a purpose ... which one do YOU want?)

PostPosted: Mon Jun 01, 2009 3:02 am
by devafree
Hello

I want to access the GSM files , is that what you meant?

thanks and regards
devafree

SOLVED

PostPosted: Mon Jun 01, 2009 3:25 am
by devafree
Hello

I have re-done this after checking a howto on mod_alias for the apache. Now apache starts Ok after I put the lines inside <Diectory>.

Thnaks and Regards

devafree