radius+httpd+php+mysql+dialupadmin总结
9.配置httpd.conf /etc/httpd/conf/httpd.conf 文件添加两处如下: DirectoryIndex index.html index.php index.html.var//添加index.php AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .html 修改apache的radius.conf配置文件 # vi /etc/httpd/conf.d/radius.conf <Directory /usr/share/dialup_admin/htdocs/> Options None order deny,allow deny from all allow from 127.0.0.1 192.168.40.39 </Directory> 在allow from 处添加你允许访问freeradius-dialupadmin的ip 用空格分开 修改apache的php.conf配置文件 # vi /etc/httpd/conf.d/php.conf 在未尾添加 AddType application/x-httpd-php .php .php3 10.配置主配置文件admin.conf文件 [root@localhost raddb]# cd /usr/share/dialup_admin/ [root@localhost dialup_admin]# ls bin Changelog conf doc htdocs html lib Makefile README sql [root@localhost conf]# ls accounting.attrs auth.request naslist.conf user_edit.attrs admin.conf //主配置 captions.conf naslist.conf.1 username.mappings admin.conf.1 //为备份1 config.php3 naslist.conf.2 admin.conf.2 default.vals sql.attrmap admin.conf.3 extra.ldap-attrmap sql.attrs (编辑:源码网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |