Active Topics

 


Reply
Thread Tools
Noonker's Avatar
Posts: 38 | Thanked: 4 times | Joined on Dec 2007
#1
I was just curious as to how i would do this, I have apache installed but from here on I'm not sure what to do.

Any help would be much appreciated.

I just want to be able to browse the contents of my n800 from my IP.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#2
I'm not entirely clear on what you're trying to do; "media server" made it sound like you were after UPnP server, or some such, but then you whipped out apache and browsing contents, which makes it sound more like you're after a FTP/HTTP server...

What sort of device is "IP" here, or am I misunderstanding that?
 
Noonker's Avatar
Posts: 38 | Thanked: 4 times | Joined on Dec 2007
#3
Originally Posted by Benson View Post
I'm not entirely clear on what you're trying to do; "media server" made it sound like you were after UPnP server, or some such, but then you whipped out apache and browsing contents, which makes it sound more like you're after a FTP/HTTP server...

What sort of device is "IP" here, or am I misunderstanding that?
Ah sorry, This did make less sense when I read it aloud. I guess what I'm looking for is an HTTP server.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#4
OK, I haven't installed apache on my tablet yet, but check /usr/htdocs; I think that should be the document root, i.e. the local path corresponding to http://tablet.example/, so you can link e.g. /home/user/MyDocs in there, or even just /, depending what you want to do. So as a start, something like:
Code:
ln -s /home/user/MyDocs/ /usr/htdocs/Tablet
ln -s /media/mmc1/ /usr/htdocs/External
ln -s /media/mmc2/ /usr/htdocs/Internal
and maybe dropping in a front page as /usr/htdocs/index.html, would get you rolling. Massive configuration follows, naturally, if you want things nice, but I think that'll get you something running.
 

The Following User Says Thank You to Benson For This Useful Post:
Noonker's Avatar
Posts: 38 | Thanked: 4 times | Joined on Dec 2007
#5
I love you.

No really.
 
Noonker's Avatar
Posts: 38 | Thanked: 4 times | Joined on Dec 2007
#6
This is all working very well. But does anyone have any idead how to get PHP to work with samba?
 
Noonker's Avatar
Posts: 38 | Thanked: 4 times | Joined on Dec 2007
#7
...? ...? ///
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
I'm no PHP god, nor even a PHP novice, but I don't think there's enough detail there for either of them to help you.

I'll hazard a guess here, and suppose that you don't really want an http server (i.e. Apache) in the first place (or at least don't want only an http server), but an SMB/CIFS server (i.e. samba). The http server permits access through a web browser, while the cifs server permits access through the windows file-management system, i.e. Explorer, or other smb/cifs clients.

If that's the case... it's a matter of installing samba, and configuring it. There's a version of samba at maemo-hackers, but it's somewhat old; don't know if it works with OS2008.

Last edited by Benson; 2008-08-13 at 12:54.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:31.