[Serusers] serweb main page display
Jiri Kuthan
jiri at iptel.org
Fri Sep 12 22:13:59 CEST 2003
Two ideas:
- check the file pathes -- they are not meant to be taken literally, instead
apply whatever makes sense in your system
- watch server logs for what filenames it complains about.
-jiri
At 10:06 PM 9/12/2003, t d wrote:
>Hi Jiri,
>
>thanks for the reply, i did what you suggested but
>results were the same, mydomain.com/admin and
>mydomain.com/user displays correctly but files under
>the root directory links are all broken.
>
>regards,
>tim
>--- Jiri Kuthan <jiri at iptel.org> wrote:
>> 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
>>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
--
Jiri Kuthan http://iptel.org/~jiri/
More information about the sr-users
mailing list