LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Cannot see http://localhost/dialup Problems with freeRadius Dialup (https://www.linuxquestions.org/questions/linux-server-73/cannot-see-http-localhost-dialup-problems-with-freeradius-dialup-745762/)

Gregbird101 08-07-2009 03:47 AM

Cannot see http://localhost/dialup Problems with freeRadius Dialup
 
Whenever i try to access http://localhost/dialup I get this:

[an error occurred while processing this directive] You don't have permission to access the requested object. It is either read-protected or not readable by the server. [an error occurred while processing this directive]

I have installed Php and can access http://localhost/phpPgadmin fine.

I installed Dialup admin with this guide.

http://wiki.freeradius.org/Dialup_ad...tion_Interface

I followed everything to a tee and it won't show up in konqueror brower.

I tried looking at all the permissions for the folders and they were all fine.

The dialup folder is a link to another dialup file and i think this is what is causing the problem.

I used:

ln -s /usr/local/dialup_admin/htdocs /srv/www/htdocs/dialup

which created the link, but any file within that linked folder cannot be seen.

How do i get it so that i can see things inside the linked folder?

Thanks

mcolangelo 08-07-2009 10:17 PM

Sounds like your web server is having problems following the symbolic link that you created. Are you using Apache?

Try adding the following directive to your host configuration to allow following symbolic links.

Options Indexes FollowSymLinks

Might look something like this depending on your configuration
Code:

DocumentRoot "/var/www/sites/hostname.dom/www/"

<Directory "/var/www/sites/hostname.dom/www/">
        Options Indexes FollowSymLinks

        # 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
        AllowOverride All

        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
</Directory>


Gregbird101 08-10-2009 03:36 AM

Yea I finally got it working...

It was all about the link.

<IfModule mod_mime.c>

AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .html
AddType application/x-httpd-php-source .phps
</IfModule>

DocumentRoot /usr/local/dialup_admin/htdocs
<Directory "/usr/local/dialup_admin/htdocs">
options Indexes Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<Directory "/usr/local/dialup_admin/htdocs">
options +FollowSymLinks
</Directory>

I used this piece of code.



Now i have the problem where the dialup admin won't connect to the sql database!

Any help would be great! Cheersss

mcolangelo 08-10-2009 09:18 AM

Are you getting any error messages?


All times are GMT -5. The time now is 11:52 PM.