[Serusers] serweb main page display

t d nine96 at yahoo.com
Fri Sep 12 23:16:08 CEST 2003


hi Jiri,

i am not very familiar in PHP/apache  but I think
there is a global config that i am missing. The
browser outputs the source code for files under the
root directory, there were no errors since pages were
parsed.

I will check on the paths again, thanks!

tim

--- Jiri Kuthan <jiri at iptel.org> wrote:
> 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/ 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the sr-users mailing list