Fedora Servers :: Accessing Index File By Hostname?

Sep 6, 2011

I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2

I put this same ip into etc/hosts:
192.168.0.2 localhost localhost.localdomain
One space separates the hostnames from the ip in /etc/hosts.
The hostname command returns: localhost.localdomain

I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.

View 7 Replies


ADVERTISEMENT

Fedora Servers :: Firefox Can't See Apache Index.html File

Aug 25, 2011

My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.

DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.

The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.

View 6 Replies View Related

Ubuntu Servers :: Edit Index.html File With Winscp (SSH)

Mar 4, 2011

Whenever I try to edit my index.html file with Winscp (SSH), it says I don't have the permission to do so. Is there anyway I can change that?

View 4 Replies View Related

Ubuntu Servers :: Enter Domain Name Instead Of Processing Index File It Downloads?

Feb 14, 2011

i have a weird issue with my web server. every time i enter my domain name instead of processing my index file it downloads it. wth could be the problem first time this ever occurred. recently installed webmin.

View 7 Replies View Related

Ubuntu Servers :: Virtual Hosting - Name The Index.htlm File Of 2nd Domain?

Apr 13, 2011

Ubuntu 1010 server 64bitlighttpdFor the 1st domain,say domain1

I name the index file as:
/var/www/index.html
/home/lighttpd/default/http/index.html

[code]....

View 4 Replies View Related

Fedora Servers :: Can't Get Httpd To Index

Feb 28, 2009

I am tyring to setup my webserver on Fedora 10 to do the following.

first, i want to require logins when people access my machine. This i have working through the .htaccess file.

Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.

the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig

it would seem that the default settings for are

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny

[Code].....

IF i put an index.html file in sub/ i no longer get a 403, i just get that file.

View 6 Replies View Related

Ubuntu Servers :: Apache Include Hostname In Access.log And Error.log File Names?

Feb 8, 2010

I am sure this information is out there somewhere, but Googling apache access.log and hostname does not give you any good leads... so I hope someone here might be able to provide me with a quick answer...I am setting up a cluster of web servers, so I would like to name the access.log and error.log with the hostname of the individual servers to be able to distinguish one from another.

View 4 Replies View Related

Fedora Servers :: Directory Index Forbidden By Options Directive?

Jan 7, 2009

I am running a few virtual domains on Apache/Fedora 9. I have some domains working fine but when I tried to put up another one today I get "Directory index forbidden by Options directiveL : /home/jek/www/AAA/" Now here's the weird part. That message appeas in the error log for domain AAA, whereas the new domain is BBB and has it's own log files defined in httpd.conf. On the browser the Fedora test page is displayed. SELinux is turned off.

View 4 Replies View Related

Fedora Servers :: Gnome Error - Hostname: Unknown Host

Mar 23, 2009

I installed Gnome on my server by when I run

Code:

[root@F026 ~]# startx

Code:

hostname: Unknown host
xauth: creating new authority file /root/.serverauth.2915
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.1.el5 i686

[code]...

I don;t have physical access to the system and it is a server located in Europe. Fedora release 10 (Cambridge) is installed in it.

View 2 Replies View Related

Fedora Servers :: Access Samba Share By Hostname From Win7

Mar 13, 2011

Running samba-3.5.6-71.fc14.x86_64. Why cant I access samba share by short-hostname from win7. When I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com

sa pinging short-hostname does work, but accessing it from start-run does not! Accessing by ip or short-hostname.mydomain.com works fine. ssh by short-hostname from win7 works fine too.

View 14 Replies View Related

Fedora Networking :: Edit The Hostname File?

Sep 5, 2011

I got a diferent domain. I got a modem-router (192.168.1.254 ) thats connect my computer with apache (192.168.1.68) I got dinamic dns with inadyn to update the ip adress for my domains. My question how to edit the hostname file (/etc/hosts)?

[Code].....

View 3 Replies View Related

Fedora Servers :: Web Interface For Accessing Files

Jan 18, 2010

I've set up a FTP server, but now I would also give the ability to users to access file through a web interface, like the ones you can find in many NAS.I there anyone that knows a software that do this? I can't find nothing useful.

View 5 Replies View Related

Fedora Servers :: Accessing Local Server By Url?

Sep 8, 2011

I have a home network set up that includes windows xp and a local server. DNS resolution allows both machines to access the internet. I know this because firefox works on the xp machine, and yum works on the fedora machine.I can see the server index page through firefox by ip. I can't see it by url.

/etc/sysconfig/network settings:
NETWORKING=yes
HOSTNAME=fred.mycoachdomain.com

[code]....

View 14 Replies View Related

Fedora Servers :: Accessing Apache Home From External IP ?

Oct 2, 2010

I've set up Apache on my Fedora 12 machine and have got it working on my internal IP (localhost/192.168.0.15) however, when I try to access it through my external IP I am taken to my router login page.

What do I need to do to route my external IP to my internal static IP of 192.168.0.15?

View 13 Replies View Related

Fedora Servers :: Monitor What Sites People Have Been Accessing On Network?

May 14, 2009

Does anyone know of a tutorial or site where I can learn how to monitor what sites people have been accessing on a network?

View 1 Replies View Related

Fedora :: Stale File Handle - Accessing WLAN0 Interface?

Mar 22, 2010

I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.

View 2 Replies View Related

Programming :: Move The Index Of A File To Another Existing File?

Feb 8, 2011

i want to move the text of a file to another file,using sed command. how can i do it?

View 1 Replies View Related

Ubuntu Servers :: When Place An Index.PHP, Get Nothing At All?

Jan 6, 2011

got my server up, installed FTP and all those goodies. And then i got some fun. Index.HTML shows perfectly. But when i place an Index.PHP, i get nothing at all.I get this error actuallyServer error.The website encountered an errorretrieving http://192.168.1.102/. It may be down for maintenance or configured incorrectly.Here are some suggestions:Reload this web page later. More information on this error

View 7 Replies View Related

Ubuntu Servers :: Get CGI Script To Run Instead Of Index.html?

Jan 4, 2010

I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.

View 9 Replies View Related

Ubuntu Servers :: Apache Ignores Index Files?

May 10, 2011

My apache ignores index files (index.php ,index.html ,index.htm , ...) and while these files exists in directory apache lists directory content!I mean http://localhost/test/ lists directory content instead of showing index.php!

View 9 Replies View Related

Ubuntu Servers :: Index.html Not Displaying On Apache2?

May 26, 2011

I'm having a bit of trouble getting my index.html to display. when i use [URL] and type in my dyndns url i just get "index of /" and not the index.html page

ive got a index.html in var/www and home/gav/public_html and set chmod -R 755 to the index.html

and still no joy....

gav@lapfrog:/etc/apache2$ gksudo gedit httpd.conf
Userdir public_html
Options +Indexes
Options All

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Reinstall XAPP And Copy The Index.php Files From Another Comp?

Apr 18, 2010

First off. I'm not using Ubuntu Server. But I'm trying to get XAMPP set up so I can test Wordpress themes I make. Using 9.10. I got XAMPP installed using the Instructions from Apache Friends. When I went to Localhost I got the language page. Selected English but nothing happened.

Here's my Index.php:

Code:
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>

Something is wrong with the XAMPP installation :-( I searched and found a couple Index.php files. Deleted one. And now when I go to localhost I get a "Index of" page.I removed the XAMPP folder, Deleted Apache, PHP from Synaptic(They got reinstalled when i reinstalled XAMPP btw). Installed LAMP but it still does it. Maybe reinstall XAPP and copy the index.php files from another Comp?.

View 3 Replies View Related

Ubuntu Servers :: Apache - Index.html Suddenly Became Blank Page

May 20, 2010

Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.

View 2 Replies View Related

Ubuntu Servers :: Install Jinzero - When Try To Access Index.php Get An Http Error 500

Oct 5, 2010

I am trying to install Jinzero a media server on my ubuntu server.

I already had apache2 installed and have installed php5 etc.

When I try to access index.php I get an http error 500 and when I check the logs of my apache2 it shows:

PHP Code:

View 1 Replies View Related

Ubuntu Servers :: Go To A Virtual Host - Site Asking Me If Wanted To Save - Index.php

Oct 19, 2010

If I go to a virtual host it asks me if I want to save "index.php" (Typing in the host name followed by index.php also works). But if I go the main site it does not. This happened after an upgrade to Ubuntu 10.04

Here are some additional details - apachectl -M shows rewrite_module (shared) the host config file has AllowOverride All the dir and php5 modules are loading fine.

View 1 Replies View Related

Ubuntu Servers :: Can't Ping By Its Hostname

Jan 3, 2010

I have installed a ubuntu 9.10 server to use mostly as a fileserver. When I installed the server I set it up as DHCP and later on I have changed the /etc/network/interfaces file, the /etc/hosts file and the /etc/hostname file. I have the ip 192.168.1.100 set on the server and I can ping and SSH this address. But I can not ping my server by it's hostname enighet. I am setting up a NFS server and I would like to use my servers hostname when I do this. Why can I not ping my server by it's hostname? These are the 3 files I have changed...

Code:
johan@enighet:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Can't Set Hostname On LAMP 10.4

Dec 22, 2010

I've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)

Here are the first lines from /etc/apache2/sites-available/default

Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Hostname Name Or Service Not Known

Jun 22, 2011

I am trying to set up a web server, i have put in a hostname.In terminal command: hostname shows 'promisedland, but hostname -F gives me name or service not known.How do I associate hostname properly, I have registered a hostname through DynDNS.I can access the page in my browser so I know it is there, I see the blank "u made it page".I just want to host a web server w/ a directory to my shared files (movies, music etc) that are on my server.

View 2 Replies View Related

Ubuntu :: Index File For Icon Theme?

Aug 24, 2010

I found an icon theme I want to use. The problem is that it has no index file. Is there some kind of script I can run to automatically generate the index file? Or do I have to go about this manually?

View 3 Replies View Related

Ubuntu :: File Search Index Build?

Nov 7, 2010

I noticed that Ubuntu takes some time in building the file search index. It seems to do it overnight while my PC is powered down )Is there a way to build the index by a command so that I could do searches whenever I wanted, specially immediately after installing a new program?

View 4 Replies View Related







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