Newbie - trouble merging two trees

This is a discussion on Newbie - trouble merging two trees within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm running apache on suse linux. Apache sets up with all of its files in /usr/local/httpd SUSE ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2003
Jim Sabatke
 
Posts: n/a
Default Newbie - trouble merging two trees

I'm running apache on suse linux.

Apache sets up with all of its files in /usr/local/httpd

SUSE sets up all of its help files in /usr/share/doc

I can't seem to configure Apache to find the files in
/usr/share/doc. I want to maintain the /usr/local/httpd
structure, but access the SUSE stuff.

For example: a link to:

http://yoda.kitty.cat/doc/susehilf/index.html.en

returns:

Not Found
The requested URL /doc/susehilf/index.html.en was not found
on this server.

How do I get Apache to find this file and other files it
that tree?

Thanks,
--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy
and good with ketchup.

  #2 (permalink)  
Old 11-01-2003
Davide Bianchi
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Jim Sabatke <jsabatke@execpc.com> wrote:
> Apache sets up with all of its files in /usr/local/httpd
> SUSE sets up all of its help files in /usr/share/doc
> I can't seem to configure Apache to find the files in
> /usr/share/doc.


Make a symlink in the /usr/local/httpd pointing to /usr/share/doc,
be sure that /usr/share/doc is world-readable and world-executable
(rwxr-xr-x).

Davide
  #3 (permalink)  
Old 11-03-2003
Jim Sabatke
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Davide Bianchi wrote:
> Jim Sabatke <jsabatke@execpc.com> wrote:
>
>>Apache sets up with all of its files in /usr/local/httpd
>>SUSE sets up all of its help files in /usr/share/doc
>>I can't seem to configure Apache to find the files in
>>/usr/share/doc.

>
>
> Make a symlink in the /usr/local/httpd pointing to /usr/share/doc,
> be sure that /usr/share/doc is world-readable and world-executable
> (rwxr-xr-x).
>
> Davide


I had already tried that. The permissions look fine. I
can't access anything there.

--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy
and good with ketchup.

  #4 (permalink)  
Old 11-03-2003
Davide Bianchi
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Jim Sabatke <jsabatke@execpc.com> wrote:
> I had already tried that. The permissions look fine. I
> can't access anything there.


Yea, well, if you have a symlink, you don't need to specify
the whole path in the URL.

Davide
  #5 (permalink)  
Old 11-03-2003
Jim Sabatke
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Davide Bianchi wrote:
> Jim Sabatke <jsabatke@execpc.com> wrote:
>
>>I had already tried that. The permissions look fine. I
>>can't access anything there.

>
>
> Yea, well, if you have a symlink, you don't need to specify
> the whole path in the URL.
>
> Davide


OK, here is the code from /usr/local/httpd/htdocs/index.html:

<p>
Das SuSE Hilfesystem finden Sie (insofern installiert) hier: <a
HREF="doc/susehilf/index.html.de">Deutsch</a> <a
HREF="doc/susehilf/index.html.en">Englisch</a>.
<p>

Also, this link does not work, and it is under
/usr/local/httpd/htdocs. the ./manual directory can't be
found, it is readable.


<h1> The Apache WWW Server </h1> <br>
This page is an example only.
The <a HREF="./manual/">documentation</a> for the Apache WWW
server can be found here.
<p>


--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy
and good with ketchup.

  #6 (permalink)  
Old 11-03-2003
Davide Bianchi
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Jim Sabatke <jsabatke@execpc.com> wrote:
> Das SuSE Hilfesystem finden Sie (insofern installiert) hier: <a
> HREF="doc/susehilf/index.html.de">Deutsch</a> <a
> HREF="doc/susehilf/index.html.en">Englisch</a>.


Supposing that your documents are in /usr/share/doc/something and that
you have a symlink in /usr/local/httpd/htdocs that point to
/usr/share/doc, your href should be:

href="/something/index.html.de"

Davide
  #7 (permalink)  
Old 11-03-2003
Jim Sabatke
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Davide Bianchi wrote:
> Jim Sabatke <jsabatke@execpc.com> wrote:
>
>>Das SuSE Hilfesystem finden Sie (insofern installiert) hier: <a
>>HREF="doc/susehilf/index.html.de">Deutsch</a> <a
>>HREF="doc/susehilf/index.html.en">Englisch</a>.

>
>
> Supposing that your documents are in /usr/share/doc/something and that
> you have a symlink in /usr/local/httpd/htdocs that point to
> /usr/share/doc, your href should be:
>
> href="/something/index.html.de"
>
> Davide


I apologize if I'm being dense, and thank you for your help.

That doesn't work either.

Also a ref to /manual/index.html.en can't be found either,
and /manual/ is in the /htdocs directory, with global xr
permissions.

There must be some setup issue.
--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy
and good with ketchup.

  #8 (permalink)  
Old 11-03-2003
Robi
 
Posts: n/a
Default Re: Newbie - trouble merging two trees

Jim Sabatke wrote:
> Davide Bianchi wrote:
>> Jim Sabatke <jsabatke@execpc.com> wrote:
>>
>>>Das SuSE Hilfesystem finden Sie (insofern installiert) hier: <a
>>>HREF="doc/susehilf/index.html.de">Deutsch</a> <a
>>>HREF="doc/susehilf/index.html.en">Englisch</a>.

>>
>>
>> Supposing that your documents are in /usr/share/doc/something and that
>> you have a symlink in /usr/local/httpd/htdocs that point to
>> /usr/share/doc, your href should be:
>>
>> href="/something/index.html.de"
>>
>> Davide

>
> I apologize if I'm being dense, and thank you for your help.
>
> That doesn't work either.
>
> Also a ref to /manual/index.html.en can't be found either,
> and /manual/ is in the /htdocs directory, with global xr
> permissions.


forgive me for butting in, but doesn't apache serve the corresponding file
"automagically" depending on the browser settings?
i.e.
browser with setting DE, will receive 'index.html.de' as 'index.html'
browser with setting EN-us will receive 'index.html.en' as 'index.html'

Am I missing something?

--
Robi
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0