![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
setting up apache on Ubuntu -- no knowledge whatsoever
I would be interested to set-up apache on my Ubuntu system for the purpose of hosting files (basically online storage ).
The problem is, aside from knowing what apache is, I have no idea how to set it up, or how it works, or the things associated with it ( common internet lingo ). Does anyone know of any slow guides that start at the beginning? (or maybe even going over it now? ) ![]() Thanks ![]() Note: I have been searching on google every once in a while, but the guides that I am looking for are written for Windows
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#2 |
|
Professional Programmer
|
You can IM me if you'd like. That doesn't really help anyone else with the same problem, but it would certainly be easier for me :p
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
Basic facts:
You'll probably start it as "root" with an "httpd" or "apache" file in "/etc/init.d". The command will look like: (apache || httpd) {start|stop|restart} Files are stored in the /var/www/ directory... by default it is writable by all users ( i think ) The config file is in /etc/apache/httpd.conf (in most cases) and you can find lots of tutorials online for httpd.conf
__________________
|
|
|
|
|
|
#4 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
iignotus helped me greatly over IM, but there were a few snags.
I am going to hold off for now, avoiding any potential damage to the system. ![]()
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
What are the snags?
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#6 |
|
Professional Programmer
|
He can't receive incoming http connections. He's not blocked as far as I can tell, and he can access his server fine on localhost.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#7 |
|
Programming Guru
![]() ![]() ![]() |
Sounds like a firewall issue... or the port may be blocked in the /etc/hosts.* files. I assume the IP is static?
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#8 |
|
Professional Programmer
|
The IP is not static but that's not a problem. I know it sounds like a firewall/iptables issue but for the life of me nothing can change it. Last time I looked, Ubuntu wasn't that paranoid about security; I don't understand why it's so hard to get the server to take connections with it.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
|
you can check apf and route to see if there are any snags there for connecting
is it just http that isnt accepting connections or is it the ip
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#10 | |
|
Professional Programmer
|
Quote:
Like I said, he can access the actual website off his computer through localhost, so httpd is definately running. This leads me to the conclusion that it's in the network layer, but that's where I get confused ![]()
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|