General :: Make Some Files On Machine Accessible Via HTTP Using Apache?

Mar 6, 2011

I did a wget on the source and built the apache binaries correctly. Now what do I need to do to get some documents accessible using HTTP (start some services?)? Also, do I need to group all the files I want to make accessible in some directory and make the directory and its contents accessible or can I just make the individual documents available? I will be providing these links to my colleagues and do not want them to be down, so need to make sure that the apache services are up automatically after a reboot. Does apache have some inbuilt support for this?

View 2 Replies


ADVERTISEMENT

Server :: Start Download Files Through Http Protocol With Apache 2?

Jul 2, 2010

I'd like to permit to start download file when I click over some links. How can I to start download files through http protocol with apache 2?

View 5 Replies View Related

Ubuntu Installation :: Network Install From ISO - Cannot Transfer Files With Apache HTTP

Feb 24, 2010

I have tftpd-hpa and dhcp3-server up and running. I just want to install server edition via network, from the host machine (my laptop, running ubuntu 9.10) with an ISO file (ubuntu 8.04 32-bit server edition). I managed to boot the client machine with pxe-netboot technique, but instead downloading all the files from internet, I need to do this process directly from ISO. To transfer ISO from host to client, I also installed Apache. I unpacked ISO file into /var/lib/tftpboot/server/. I created a link to the Apache root: /var/www

Code:
ubuntu@ubuntu:/var/www$ ls
returns => index.html server
server folder is the place where I unpacked the ISO.

My dhcp3-server has this setup and it works well with netboot, but I don't know how to add Apache to the formula to transfer the iso file from host to client. Firewall is disabled. This is my edited /etc/dhcp3/dhcpd.conf file.

Code:
host pxeinstall {
hardware ethernet 00:06:29:DE:E3:CD;
fixed-address 192.168.2.4; (client IP)
next-server 192.168.2.2; (host IP)
filename "/server/install/netboot/pxelinux.0"; (relative to tftpboot)
} subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.2 192.168.2.5;
option routers 192.168.2.1; }

When I pxe-boot the client, the process comes to a halt when tftp server is trying to access to pxelinux.0 file. I got thls error:
PXE-T00: Permission denied
PXE-E36: Error received from TFTP server
I have no experience with Apache... so I think there is a problem with my IP addresses.. Do I need to use 127.0.1.1 instead of 192.168.2.1 (my routers IP)?

View 3 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Server :: Send Files From A Unix Using Http / Curl To A Webserver Running Apache

Jun 9, 2010

I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:

<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL

View 2 Replies View Related

General :: Get Virtual Machine (virtualbox) Accessible On Company Network?

Jul 11, 2011

I created an archlinux vm guest using virtualbox on my windows desktop at work. I'm planning to use it for django development because there are no unix machines available to use as a workstation at work.

From the vm guest I can ping/ssh to other machines in the network, but not the other way around. It's like even though the guest machine has an ip address on the network and a hostname, neither is recognizable.

View 1 Replies View Related

General :: Make Local Web Page Accessible From Internet?

Dec 23, 2010

On computer, I have apache server, configured at port 80, running. In local network, web page is accessible by my local IP (192...). Although, when I want to get to the page from the internet, I don't know right ip address, since router's one should be local, and also, router has it's own web page running at port 80. So I guessed that my server IP would be modem's one, which I don't know. Sometime in past, I figured out address of modem too, but it has it's own application running. Also, router supports port forwarding (which I guess, is needed), but I don't know how to get using to it. what address from internet should I have? How should I determine it?

View 8 Replies View Related

General :: Configure Apache To Use Https Instead Of Http For Some Requests?

Mar 7, 2011

For some of the files that I share using Apache, I want to make sure that they are served ONLY via https.

How can I configure this for Apache?

View 1 Replies View Related

OpenSUSE Network :: Create The Virtual Web Site (name Based) Accessible On Http And Https Simultaneously?

Dec 2, 2010

How to create the virtual web site (name based) accessible on http and https simultaneously ?

Example
server have ip address: 192.168.251.22 and virtual IP address=192.168.151.22

Target: create VirtualWebSite(name based) accessible on http and https simultaneously. ?

I can create a virtual site(name based), but he will be accessible ONLY on http or ONLY on https.

View 9 Replies View Related

General :: Apache And Access To Samba Shares Index (or Contents) Trough Http

Aug 10, 2010

i want to access to my samba shares index (or contents) trough http. something like this: [URL] i read something about aliases...i wrote this in the httpd.conf:

[Code]...

View 6 Replies View Related

General :: Samba Cannot Share Files - Not Accessible By WinXP

Nov 21, 2010

I used Samba to share some files. But when I try to share /home/username/download, it is not accessible by WindowsXP. But when I modified the dir to /opt/*. It is OK.

View 2 Replies View Related

Ubuntu :: Making Apache Accessible To Outside World

May 22, 2010

Set Up:
1. Ubuntu 10.04 x64 on Acer Aspire NoteBook.
2. LAMP installed
3. Using an ADSL modem to connect to internet, make is "Nokia Siemens Residential Router 1600"
4. Modem LAN settings are as shown in the attachment picture.
5. So mostly my laptop is assigned the ip ranging from 10.0.0.2 to 10.0.0.10 as the router use NAT.
6. http://localhost, 127.0.0.1, 10.0.0.2 or whatever my ip is, work fine to see my default Apache homepage in locally connected devices.
7. The IP which I find from [URL] should connect to my Apache homepage but instead it connects to my Router Interface/Configure panel as shown in image attached.

What I want:
1. My Apache home page accessible to outside world via my dynamic ip.

View 9 Replies View Related

Ubuntu Servers :: Apache -> Squirrelmail Not Accessible From Internet

May 4, 2010

I set up a mail server today. Everything works except I can't access the damn squirrelmail web interface from the internet.

I followed this guide here: [URL]

I can access http://192.168.0.50/squirrelmail just fine from a computer on my local network.

*BUT*

When I access http://mywanip/squirrelmail, i get a connection timeout.

When I access http://mywanip, I get the standard Apache "IT WORKS!" Page. (Rules out port forwarding)

According to the guide, that should allow me to access squirrelmail from the internet on my server. Its as if Squirrelmail is only available on my local interface and not on my wan interface? How do I check?

View 5 Replies View Related

Security :: SSH Tunnel Not Accessible From Different Machine On Same Network

Dec 16, 2010

I have an SSH tunnel setup between a local server and a remote postfix relay VPS. This is so we can route all our outgoing mail through this SSH tunnel to a private relay VPS, this seems to give us much more consistent mail delivery than using our ISP's relay. So the SSH tunnel is set to route port 1025 on machine A to port 25 on the VPS This part of it is working perfectly and has been for months. However today I wanted to set our e-mail newsletter software (on the same network as the SSH tunnel start-point) to send through the SSH tunnel. So I punched in the IP/port... 192.168.1.5:1025 but it doesn't work. Is there something I need to do to allow connections from other machines on the LAN to access the start-point of the SSH tunnel? Or are SSH tunnels restricted to localhost connections only?

View 6 Replies View Related

General :: Transfer Files On A Machine With Ftp / Sftp And Scp Disabled Onto A Remote Machine?

Nov 30, 2010

How do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine

View 2 Replies View Related

Ubuntu Networking :: After Upgrade, Machine Accessible By Ip, Not Host Name?

May 14, 2010

I have just upgraded to 10.04 (not ideal I know, thought I would give it a go). Now the machine is only accessible via its IP, not host name. I reinstalled Samba, but still not working

View 1 Replies View Related

Fedora Networking :: File Storage On F10 Machine Accessible By XP Computer

Mar 5, 2009

I want to have my Fedora 10 computer act as file storage and access it from my Windows computers.
Details:
Fedora 10 box is fully functional and connects to the internet using a wireless card to my Linksys 54G router. I've configured the smb.conf file to workgroup MSHOME, and assigned it an IP of 192.168.1.150. I've also set it to turn on smb at boot. Windows XP Home is hard wired to the same router with the standard Workgroup of MSHOME. Windows is set to obtain IP and DNS automatically. There's another Windows XP Home system that's also wireless on MSHOME that I can interact with fine from the main Windows comp. Ping results to 192.168.1.150 results in Request timed out.

View 2 Replies View Related

Ubuntu Networking :: Local Machine Is Not Accessible From Out Side World

Jul 30, 2010

I m using the pc as gateway....i have two NICs:1) 10.6.15.254 ---> for internal network 10.6.15.02) 10.6.0.115 -----> for out side world I can ping and ssh any out side machine but when i try to ping or ssh any machine in the 10.6.15.0 network it says host unreachable.... i can ping and ssh gateway i.e. 10.6.15.254 and 10.6.0.115 but not the client machine in the 10.6.15.0 network from out side world even i flush iptable rules i can not access any client machine i m using ubuntu 10.04 as operating system..

View 2 Replies View Related

CentOS 5 Networking :: Samba Share Not Accessible From Windows Machine?

Feb 13, 2010

I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?

View 3 Replies View Related

Fedora :: Directory On User Account Which Is Visible And Accessible To Other Users On The *same Machine*??

May 11, 2011

This is a simple question which hopefully has a simple answer. How do I set up a directory on my user account which is visible and accessible to other users on the *same machine*? For example I have certain files on my account which, if I want another user to be able to access I'd have to (a) copy them to my thumb drive (b) log out, (c) log in to the other account, (d) copy the files from the usb thumb drive

View 13 Replies View Related

General :: Connected To Machine Running Apache?

Feb 3, 2011

I have run the apache service on my machine. Many people are accessing that server. Now, I want to know who all connected to my system. How can I get that information?

View 1 Replies View Related

Ubuntu :: Permissions - Make EVERYTHING Accessible?

Sep 1, 2011

I download something all the files and folders have root permission. So I can't do anything. I can change them all to have permission for me but it takes like an hour for one download. How do I make EVERYTHING accessible to me?

View 6 Replies View Related

General :: Copy Files From Machine A To Machine B?

Mar 8, 2010

How can i copy a files from Machine A to Machine B.Which is LAN connected

View 4 Replies View Related

General :: How To Test SSL With Single Apache Server Machine?

Oct 26, 2009

I have apache server running on Fedora 11. I want to test Self-signed certificate for SSL setup with Apache.HOw can I setup?

View 1 Replies View Related

General :: Apache Threads Being Kept Around After Browsing On A Local Development Machine

Sep 21, 2010

So I have apache running on my local computer. When I open up local development sites in tabs in my browser, apache threads are started. That's as it should be. However, when I close the tabs, close the browsers, and then run system monitor/system task manager, I get a long list of apache threads that are sleeping, waiting around for god knows what. How do I get these apache threads to stop hanging around?

View 1 Replies View Related

General :: Hosting Apache On A Machine Connected To A Dlink Router?

May 23, 2010

I recently got a static IP from my ISP. I Have two machines connected to my DLink wireless router. A windows laptop and linux machine runninf centos 5.3. I would like to host an application apache/tomcat based on my linux machine and would like people to access it from the outside. What configurations do I need to make on the Dlink wireless router and my linux box to make it work.

View 1 Replies View Related

Ubuntu Installation :: Make My Desktop Accessible From Anywhere With DynDns ?

Feb 19, 2011

I was trying to make my Desktop accessible from anywhere with DynDns. I have AT&T 2wire router 2701-hg b router. which doesnot have dyndns settings.

So installed ddclient. its running fine..

I did tracepath

I did nslookup

View 6 Replies View Related

Ubuntu Networking :: Make Server Accessible With A DHCP Address?

Nov 1, 2010

The cable internet I'm using runs on Dynamic DHCP IP addresses. I changed it to a static IP address in my router settings, but it keeps changing. This means that I can't connect to my home server from a remote location.

Is there anyway to run my ubuntu server on a DHCP IP address without connecting through my router 192.168.1.xxx?

View 1 Replies View Related

Fedora :: Using Iptables To Make Port 22 Accessible Through 4455 Externally

Apr 16, 2011

Have previously moved my ssh server from 22 to 4455 just by moving the port in sshd_config. This is done to minimize the log entries resulting from brute force attacks.However, it seems like Zimbra and other local services expect to find the ssh service locally available on port 22, so I figured it's better to move the port in the firewall so that it remains configured on port 22 in sshd_config, and instead use iptables with a nat/port rewrite to move 4455 incoming to 22 locally.

Isolated this works as long as I also keep allowing port 22, but the moment I close port 22, port 4455 is also dead, which sort of defies the purpose

View 2 Replies View Related

Fedora :: SELinux Context - Allow Apache's Http Daemon To Use Arp (for Getting Some Mac Addresses)

Apr 13, 2010

I'm working with Fedora and SELinux and am having a problem. I need to allow apache's http daemon to use arp (for getting some mac addresses). I have changed the type of the arp executable to httpd_sys_context_t but am still having an issue. Here is the messages log: Detailed Description:

[Code]...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved