Software :: Compatibility With Htpasswd And Htaccess On Asterisk?
Mar 4, 2010
Has anyone ever had any luck with htpasswd and htaccess on asterisk, I set it up on a test apache server in VMWare just to make sure I knew what I was doing, so It was a very basic html page that I used, however, when I go to implement it on one of my Asterisk Servers, It comes up with the following page after I type a user name and password credentials in:
***************************************************************************
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch Server at fred Port 80
***************************************************************************
Anyone know if its compatible? and if so, is there any tricks around this?
View 2 Replies
ADVERTISEMENT
Feb 27, 2011
I have created a sub directory on my box on a website for my company. It is a page that has links to my tools I want to use when I do service calls. Links that connect to my servers webmin etc. Of course I don't want them found by webcrawling bots. I have created a .htpasswd file using htpasswd -c /location/to/file/.htpasswd.
This file is located outside the web. Just under the public_html folder. Then I went to the sub directory I want to protect and added a text file named .htaccess. It contains:
/home/sites/www.domain.net/tech/
AuthType Basic
AuthName "Some long name"
AuthUserFile /home/sites/www.domain.net/.htpasswd
Require valid-user
ErrorDocument errornumber /home/sites/errorpages/403.html
I also opened the httpd.conf and changed AllowedOverride to All
The error document doesn't work either.
I then restarted the httpd service. I try to access the site and it lets me right in without asking for a password. It is apache 2xxx on Centos 4.5. Webmin under Apache confifirms all this.
View 12 Replies
View Related
Dec 16, 2010
I have scripts in folders /opt/apache2/tools/ and also i have another folder called IDM under /opt/apache2/tools. i tried to configure htpasswd for just IDM folder only as below.
bash-3.00# pwd
/opt/apache2/tools
bash-3.00# ls -al
[code]...
View 12 Replies
View Related
Sep 13, 2009
I compiled and installed the Asterisk ztdummy package because there is no rpm for it, unfortunately, and i even reinstalled asterisk, but i still get the "No application 'Meetme' for extension..." error when trying to conference. I do a "module show", and it lists other modules that were compiled with the zt source, but not ztdummy.Does anyone know how to fix this? This is more than a passing interest or hobby, because i need to conference about 3 to 5 people to help me test a new Website Content Management System and User Forums Management System i am about to launch as a service.
View 3 Replies
View Related
Mar 9, 2011
I've setup .htpasswd and a .htaccess file.
The password is a0bc0def0g3
If i enter that password, it let's me in.
if i enter a0bc0def0g it also works. I've never seen this before and is totally weird.
View 3 Replies
View Related
Jul 6, 2010
I have built a subversion server (1.6.12 version) on Centos 5.4. I created a database for the server for authentication user via database MySQL with mod_auth_mysql, but this make my subversion server is so slow when make a commit.
I think authentication through a file is fast , but I wish to connect the password in database (the password is created by PHP) to file. I used a file like this user:xxx xxx is the password which is got from database. But it's not ok.
View 1 Replies
View Related
Feb 4, 2010
I started to work on building a ftp by vsftpd in our lab (that's only for our lab members). I am going to setup some the virtual users for each of the member. We have a CentOS5 (without upgrade after the fresh installation). I try several ways to setup the vsftpd for virtual users. 1) with db4 2) with mysql 3) without database and use htpasswd. But all fails. Actually, I don't want to use database, so I am going to find out the reason of failure on 'htpasswd' method
My vsftpd is installed in /etc/vsftpd (for only using ftp account, it is no problem to login).
1) I setup an account called vftpuser and build the corresponding home (/home/vftpuser), and then I setup another account call usera and also create a directory within /home/vftpuser.
2) I use htpasswd to add passwd to usera and store the passwd in /etc/vsftpd/passwd.
3) I added the name of usera to /etc/vsftpd/user_list
4) I create a directory /etc/vsftpd/user to store a unique conf for each user (for usera, the conf named usera) which contains the local root for users, which is
[Code]....
View 1 Replies
View Related
Feb 1, 2011
I followed the directions here: [URL] but now I get
Code: 500 OOPS: cannot locate user entry:music Login failed. I see no errors in my auth.log, and in my vsftpd.log I see Tue Feb 1 13:01:13 2011 [pid 2] CONNECT: Client "<omitted_ip>" Tue Feb 1 13:01:20 2011 [pid 1] [<username>] OK LOGIN: Client "<omitted_ip>" so it looks like the user is able to log in, but I can't tell what the issue is beyond that.
View 2 Replies
View Related
Aug 3, 2011
i installed asterisk with yum, the command i used is that yum install asterisk*
Now i want ro remove only asterisk, not its depencies. how i do this?
View 7 Replies
View Related
Aug 27, 2011
I have a USB 3g modem, which also supports voice calling, I want to implement IVR ( Interactive Voice response) with it on linux, Can I do it with Asterisk? If yes, then please help me on how to do this ( references) ?
Is there example or howtos available to do this?
Can I develop IVR system in linux without Asterisk?
Note: I am very new to Asterisk and IVR.
View 2 Replies
View Related
Mar 31, 2011
What are the standard procedures to monitor asterisk with nagios? I downloaded check_asterisk from URL...
View 1 Replies
View Related
Jan 26, 2011
I just installed asteriks on my remote server ,and set up 2 account for test purpose.i added these lines to sip.conf
Code:
[benchabane]
type=friend
username=benchabane
secret=tcpip13
host=dynamic
context=mygroup
[Code]...
View 1 Replies
View Related
May 22, 2009
I want to authenticate and authorize for SiP user of my * box, it is my project, but i did not finish it, hic hic! My asterisk box is version 1.6.0, fedora 10.the first, i downed and installed freeradius to my computer, and run "radiusd -X", it's run normally. Then, I installed radiusclient-ng0.5.6, it's rpm file. All is perfect. But the problem is i can't run asterisk box as radiusclient.
View 2 Replies
View Related
Jun 1, 2010
I have been reading about asterisk, I did some basic configuration, a small ivr, record messages.. but I was wondering how and what/where should I modify to use a database to save sip users and voicemail user..then we can add user/voicemail with php-myadmin I always search but I cant find about this configuration..
View 1 Replies
View Related
Jan 13, 2011
My asterisk version is 1.6 and Web-MeetMe is 4.0.2 I get the following upon issuing "make" in web-meetme/cbmysql/ :
Quote:
cc -pipe -I/usr/include/mysql -L/usr/lib/mysql -fPIC -I/usr/src/asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_cbmysql.o app_cbmysql.c
app_cbmysql.c:14:22: error: asterisk.h: No such file or directory
app_cbmysql.c:25:33: error: asterisk/autoconfig.h: No such file or directory
app_cbmysql.c:26:27: error: asterisk/lock.h: No such file or directory
[Code]....
View 2 Replies
View Related
Jan 18, 2009
I want to install Asterisk gui using svn command, but I have the following error:
# svn co http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
svn: PROPFIND request failed on '/svn/asterisk-gui/trunk'
svn: PROPFIND of '/svn/asterisk-gui/trunk': Could not resolve hostname `svn.digium.com': Temporary failure in name resolution (http://svn.digium.com)
View 5 Replies
View Related
Jan 7, 2010
We would like to install Asterisk with a minimal centos build. We are writing kick-starts to install packages, does anyone know or have to hand a packages list which installs minimum system requirements for asterisk? Preferably this will not exceed the contents of disk 1
View 4 Replies
View Related
Jun 6, 2010
I have fedora 13, and installed asterisk.. Before I had centos and have my asterisk running to test and learn.. but in fedora I see there is a http miniserver for admin asterisk..I edited enable, port and ip in the file http.con but when I try URL...I got 404 page no found Asterisk server.
View 1 Replies
View Related
Jul 8, 2010
I first installed asterisk using sudo apt-get install asterisk on ubuntu 10.04. After doing this the SIP packages did not install for some odd reason.I uninstalled asterisk using sudo apt-get remove asterisk then reinstalled and now none of the asterisk config files are gone. deleted all files and directories I could find relating to asterisk, rebooted the machine, did a kernal upgrade, and a package update and reinstalled asterisk using sudo apt-get install asterisk, and all the config files are still missing. What am I missing here!
View 6 Replies
View Related
Dec 30, 2010
Is it possible to make root password visible as asterisk(or any other character) on using sudo command??urrently,it does not display anything on monitor,thus,making it difficult to count the number of keystrokes pressed...
View 5 Replies
View Related
Jun 5, 2010
I have two asterisk servers each one behind a linux firewall/gw. Linux is Centos 5.4, kernel 2.6.18-164.el5, iptables v1.3.5. Routes on the fws are ok and when iptables is stoped the servers are see each other, all good. But when I run iptables script in any fw, one server (not always the same) goes unreachable. I verify this with asterisk -r, then show sip trunk, and status becomes UNREACHABLE.
Iptables scripts is generated by fwbuilder. The weird part is I put only one rule to de script and it looks like Source=any, Destination=any, Service=any, Interface=any, Direction (Inbound,Outbound)=any, Time=Any, Action=ACCEPT. So as you can see I tried something like "Do not do anything at all". But anyway I run the script in any fw and one server becomes UNREACHABLE. I think the script does something wrong after all or maybe I have some missconfiguration in my asterisk conf files. The point is I am not so expert in iptables or shell scripting so I can't see anything in the iptables script. I have look for some issues like iptables blocking because of ip_conntrack table full, or "dont fragment" bit set in kernel problem, but nothing seems to be the right problem at all.
View 14 Replies
View Related
Aug 16, 2010
I am using SAMSUN R-519 laptop with 4 GB RAM and 2.1 GHz dual core CPU and I intend to configure asterisk on this machine for voice conferencing with 4 other PCs. I am unable to configure asterisk. I don't have any hardware regarding voip such as Digium card.
View 14 Replies
View Related
Jun 6, 2010
I have fedora 13, and installed asterisk.. Before I had centos and have my asterisk running to test and learn.. but in fedora I see there is a http miniserver for admin asterisk..
I edited enable, port and ip in the file http.con but when I try [url] I got 404 page no found Asterisk server...
View 2 Replies
View Related
Jan 27, 2010
I was just wondering if you know of any site/forum that is informative about Asterisk. I have just configured an Atcom IP04 in which Asterisk is embedded. I need to know how to configure the IP-PABX to receive fax and come up with a Skype Gateway to receive/call out on Skype.
View 2 Replies
View Related
Nov 17, 2009
I am encountering a strange problem on my VOIP setup Basically, I have a asterisk appliance IP04. I have setup all the extensions and everything. I use a Linksys PAP2T as an ATA remotely. Now, my problem is the ATA sometimes is okay can call SIP and PSTN but sometimes I just can't hear anything. I thought it was my ISP blocking the VOIP packets but I have tried both the SIP softphone and IAX2 softphone on my PC. For IAX2, it works perfectly however in the SIP, I can hear the other end but they cannot hear me.
These are the ports I have opened on my router
1.) UDP 5060 - SIP Port
2.) UDP 10000 - 20000 - RTP Port
3.) UDP 4569 - IAX2
Do I need to open both TCP/UDP for these ports or UDP should be enough? These are the test cases:
1.) Using my WiFi Connection and a analog phone connected to ATA --> Sometimes working sometimes not and sometimes you can call SIP but the other end cannot hear you
2.) Using IAX2 in WiFi connection --> This one works perfectly
3.) Using a mobile phone connected to WiFi Network --> The same...but you can call and go out on PSTN but the other end cannot hear you
4.) Using a mobile phone connected via 3G --> Works perfectly but as expected it is quite slow and voice quality is awful
I want to use SIP rather than IAX2 because it is widely used and since my ATA doesn't support IAX2. Are there other ports I need to open or configure?
View 2 Replies
View Related
Oct 26, 2010
Today my boss come to me and ask me to get a cote to upgrade our old "Cisco call manager" (2004) now "Cisco Unified Communications Manager". So I was wondering, instead of doing a costly upgrade (over 35 000�), maybe it's time to change... Does anyone of you got some insight with Asterisk in an enterprise environment? Is it reliable? Following you own judgement, what are the + and - ? If Asterix worth it, what argument (apart of the price) could I use to help the management turning on my side? Will the Cisco 7921 VOIP phone will be able to connect to it? (as we do have over 35 of them)
Enterprise environment:
- 3 sites (VPN interconnected)
- ~35 VOIP phones and ~10 landlines phones
View 2 Replies
View Related
Apr 15, 2010
I have to clean the voicemails from asterisk, but I want to keep at least, the voicemails for five days.I started writing a script, but I'm a bit stuck, and I've trying somethings for sometime, but still I can't get itThe hierarchy of Asterisk Voicemails is like this:
default
10000
INBOX
[code]....
View 4 Replies
View Related
Nov 13, 2010
I need to custom my dialplan at Linksys Pap2-NA to fit my asterisk server as i have three destinations.
Localy : xxxx
International: 00.
Services: *666x
View 2 Replies
View Related
Apr 20, 2011
Maybe I'm not using the right search terms, but I can't find anything on this. I have a setup of Slackware with Asterisk and FreePBX. I am recording calls on demand and can get to the recordings from the Call Monitor (web interface). I would like to be able to access the recording from the phone (Aastra 57i), much like a voice mail is accessed.
View 3 Replies
View Related
Mar 29, 2009
I'm having a hard time getting part of Asterisk (the open source PBX) called asterisk-addons to compile with mysql CDR support which I need to enable Realtime I believe. I've spent the whole day trying to fault find this one (including thinking I had ruined my box and creating a new CentOS build!) and am pretty worn outWhen I attempt to install asterisk-addons (I've tried 1.6.0.1, 1.6.0.1-patch and 1.6.1.0-rc3), I get the following line in a ./configure:
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
Then when I do a make menuselect, MySQL is not selectable and XXX"d out:
[code]....
View 5 Replies
View Related