[Serusers] serweb main page display

Jiri Kuthan jiri at iptel.org
Fri Sep 12 12:29:15 CEST 2003


At 08:58 PM 9/11/2003, t d wrote:
>Hello,
>
>I have configured serweb to display under the web root
>directory /var/www/html/, the pictures, image buttons
>and css under mydomain.com do not link up, however
>mydomain.com/admin and mydomain.com/user_interface
>both displayed correctly. ideas anyone?

link the pictures, imsage buttons and ccs at mydomain.com too.

1) Configure serweb

         vi iptel/html/config.php

          Typically:
            $this->db_host="localhost";
            $this->root_path="/";
            $this->root_uri="http://www.foobar..."
            .../* many other settings */
            /* relative paths of serweb tree */
            $this->img_src_path =   $this->root_path."iptel_img/";
            $this->js_src_path =    $this->root_path."iptel_js/";
            $this->style_src_path = $this->root_path."iptel_styles/";

2) Update Apache settings:

        Alias /iptel_img "/var/www/iptel/html/img"
        Alias /iptel_styles "/var/www/iptel/html/styles"
        Alias /user "/var/www/iptel/html/user_interface"
        Alias /admin "/var/www/iptel/html/admin"

-jiri 




More information about the sr-users mailing list