FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-20-2008, 03:35 PM
Gene Heskett
 
Default Web page problem

Greetings;

I have setup a softlink from /var/www/html/gene/linkname
That points to another directory here, owned by a different user. All that has
been chown'ed to apache:apache as I just noted some of it was owned by root.

I can goto that page with FF3 and display the contents as a file listing just
fine.

I cannot actually view, from a web browser, any of the text files there
displayed, or start a download of any of the compressed files that may be
there.

Just for grins I fired up FF-2.0.0.14, and it works fine. Is there some option
I need to enable in FF3?

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
People who take cat naps don't usually sleep in a cat's cradle.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-20-2008, 08:43 PM
"Bassel Safadi"
 
Default Web page problem

On Fri, Jun 20, 2008 at 6:35 PM, Gene Heskett <gene.heskett@verizon.net> wrote:

Greetings;



I have setup a softlink from /var/www/html/gene/linkname

That points to another directory here, owned by a different user. *All that has

been chown'ed to apache:apache as I just noted some of it was owned by root.



I can goto that page with FF3 and display the contents as a file listing just

fine.



I cannot actually view, from a web browser, any of the text files there

displayed, or start a download of any of the compressed files that may be

there.



Just for grins I fired up FF-2.0.0.14, and it works fine. *Is there some option

I need to enable in FF3?

as long as it works fine on FF2 it is not something related to permissions,
what is the error you get from FF3 when starting it from terminal and trying to download the compressed files? or what did FF3 say? connection failed ? or what?

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-20-2008, 09:07 PM
Gene Heskett
 
Default Web page problem

On Friday 20 June 2008, Bassel Safadi wrote:
>On Fri, Jun 20, 2008 at 6:35 PM, Gene Heskett <gene.heskett@verizon.net>
>
>wrote:
>> Greetings;
>>
>> I have setup a softlink from /var/www/html/gene/linkname
>> That points to another directory here, owned by a different user. All
>> that has
>> been chown'ed to apache:apache as I just noted some of it was owned by
>> root.
>>
>> I can goto that page with FF3 and display the contents as a file listing
>> just
>> fine.
>>
>> I cannot actually view, from a web browser, any of the text files there
>> displayed, or start a download of any of the compressed files that may be
>> there.
>>
>> Just for grins I fired up FF-2.0.0.14, and it works fine. Is there some
>> option
>> I need to enable in FF3?
>
>as long as it works fine on FF2 it is not something related to permissions,
>what is the error you get from FF3 when starting it from terminal and trying
>to download the compressed files? or what did FF3 say? connection failed ?
>or what?

I didn't try it from a term screen, not smart enough I guess. Launched from a
button press, it will show a list of the files, most of which are src code text
files for a legacy computer, but when you click on one of them, about 1/4
second later it says 'done', and the screen remains blank. Probably some
option in the fresh FF3 install, which is sharing a global plugins directory
with all the other 'browsers' here.

But if someone had a clue as to what to search for in about:config, it sure
would be helpful.

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If God had meant for us to be in the Army, we would have been born with
green, baggy skin.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-21-2008, 06:39 AM
Tim
 
Default Web page problem

On Fri, 2008-06-20 at 11:35 -0400, Gene Heskett wrote:
> I have setup a softlink from /var/www/html/gene/linkname
> That points to another directory here, owned by a different user. All
> that has been chown'ed to apache:apache as I just noted some of it was
> owned by root.

For what it's worth, it's not a good idea to chown webserveable files to
Apache. That'll (usually) let the webserver write all over them. The
usual way to webserve files is to have someone else own them, and make
the directories and files world readable.

> I can goto that page with FF3 and display the contents as a file
> listing just fine.

Do you mean you're browsing the file systems directly, not through a web
server? e.g. file:///var/www/html/gene/.....

Or that you're browsing a file listing produced by the webserver?
e.g. http://localhost/gene/

> I cannot actually view, from a web browser, any of the text files
> there displayed, or start a download of any of the compressed files
> that may be there.
>
> Just for grins I fired up FF-2.0.0.14, and it works fine. Is there
> some option I need to enable in FF3?

Using the Firefox 3 that came with Fedora 9 (current update to it), I've
not come across any cases where it won't download something from my
webservers that the older Firefox would.

What sort of things are you trying to download? Are they anything that
might appear to be like a Firefox add-on, which might be blocked by
preferences? (Though I'd expect a warning, rather than silent
blocking.)

If it weren't for things working in one browser, but not another, I'd be
suspecting a SELinux issue (the contexts of your files not being
webservable), or plain old permissions issues (files being world
readable, and directories, and all parent directories, being world
readable).

Another thing that springs to mind: Is it downloading them, but doing
it in the background? (No indication that it's doing a download, no
indication that it's done.) Have a look in your downloads directory.

--
[tim@localhost ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-21-2008, 01:11 PM
Gene Heskett
 
Default Web page problem

On Saturday 21 June 2008, Tim wrote:
>On Fri, 2008-06-20 at 11:35 -0400, Gene Heskett wrote:
>> I have setup a softlink from /var/www/html/gene/linkname
>> That points to another directory here, owned by a different user. All
>> that has been chown'ed to apache:apache as I just noted some of it was
>> owned by root.
>
>For what it's worth, it's not a good idea to chown webserveable files to
>Apache. That'll (usually) let the webserver write all over them. The
>usual way to webserve files is to have someone else own them, and make
>the directories and files world readable.

I did have them set that way originally, and you are right, I should swap them
back to a user.
>
>> I can goto that page with FF3 and display the contents as a file
>> listing just fine.
>
>Do you mean you're browsing the file systems directly, not through a web
>server? e.g. file:///var/www/html/gene/.....

Nope, thru <http:me.homelinux.net:85/gene/> etc.

>Or that you're browsing a file listing produced by the webserver?
>e.g. http://localhost/gene/

Which also works.

>> I cannot actually view, from a web browser, any of the text files
>> there displayed, or start a download of any of the compressed files
>> that may be there.
>>
>> Just for grins I fired up FF-2.0.0.14, and it works fine. Is there
>> some option I need to enable in FF3?
>
>Using the Firefox 3 that came with Fedora 9 (current update to it), I've
>not come across any cases where it won't download something from my
>webservers that the older Firefox would.

This is the FF3 distribution tarball version.

>What sort of things are you trying to download? Are they anything that
>might appear to be like a Firefox add-on, which might be blocked by
>preferences? (Though I'd expect a warning, rather than silent
>blocking.)
>
>If it weren't for things working in one browser, but not another, I'd be
>suspecting a SELinux issue (the contexts of your files not being
>webservable), or plain old permissions issues (files being world
>readable, and directories, and all parent directories, being world
>readable).

Apache doesn't own these, and setroubleshooter is running, so I would be
instantly advised of a selinux perms problem I believe.
>
>Another thing that springs to mind: Is it downloading them, but doing
>it in the background? (No indication that it's doing a download, no
>indication that it's done.) Have a look in your downloads directory.

No, they aren't there.

Thanks Tim.

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<BenC> cerb: we subscribed you to debian-fight as the moderator
<BenC> cerb: list rules are, 1) no nice emails, 2) no apologies

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 01:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org