Fedora Servers :: START PAGE In Apache

Mar 4, 2011

I have an apache server and /var/www/html/index.html startpage working fine. But I want to have files accessed by apache in my /home/beny/ director.

View 8 Replies


ADVERTISEMENT

Fedora Servers :: Get Apache To Show A Different Or Default Page?

Jul 15, 2009

I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.

View 1 Replies View Related

Fedora Servers :: Apache Updated - Reporting 2.2.0 On Any Error Page

Sep 1, 2009

But after it updated and I restarted the service, it's reporting 2.2.0 on any error page. Yet through yum it's reporting 2.2.13-1. Is that normal? I've only ever used 2.2.x, starting with 2.2.6ish.

View 3 Replies View Related

Fedora Servers :: Apache Does Not Start?

Feb 15, 2010

FedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...

View 8 Replies View Related

Server :: Set Nagios To Apache Start / Home Page

Jan 19, 2011

Been a very long time since I have played with Linux.Now in a new position and have setup a Nagios server running on Centos 5,5 for a NMS.How do I set apache that when I visit: whatever.org it starts Nagios.. Currently I have to go to whatever.org/nagios.

View 9 Replies View Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"

View 14 Replies View Related

Fedora Servers :: Simple Apache/PHP Setup For A Start

Feb 26, 2010

I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.

I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.

Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.

View 7 Replies View Related

Fedora Servers :: Apache Won't Start After Installing Openss

Sep 3, 2011

I'm running Fedora 15. I installed mod_ssl and tried restarting Apache. I get the following error:

Code:
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443

no listening sockets available, shutting down Unable to open logs I rebooted the server, thinking there was some process in the background that was stopping Apache from listening on 443. Same problem.

I ran:

netstat -A inet -lnp and lsof -i tcp:443

I remove mod_ssl and Apache starts.

The other question I have is what to do with /var/www/html

In the default install, root:root owns it, but I want people to be able to ftp in to that folder and write to it without using the root account. I'm thinking of changing the group to apache and putting the ftp users in the apache group. What is the recommended behavior here?

View 5 Replies View Related

Ubuntu Servers :: FTP And Apache - Page Forbidden

May 7, 2011

Since I upgraded to 11.04 on my Server edition I have been experiencing some problems with my FTP-server and Apache. Apache just says that the page is "forbidden" if I'm not logged in on the server, which means I need to go to the server and physically log in or I can do it trough ssh but then when I close my ssh client on my work computer the page is "forbidden" again. And I cant seem to reach the FTP-server from an external address so I need to be in the network to access it.

It says something like:
Code:
An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.
200 Switching to ASCII mode.
227 Entering Passive Mode (192,168,0,194,233,166)

View 3 Replies View Related

Ubuntu Servers :: Apache 'It Works' Page Keeps Coming Up

Aug 20, 2010

when I try to view my root directory of my website.if I go to URL... on my computer, it always loads the "It Works!" page. I deleted the original index.html page, and even replaced it - but if I go to URL... it KEEPS coming up.If I specify the page I want to view, ie.URl... it loads the right file.Is there a setting in the conf file that Im missing?

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

Ubuntu Servers :: Change Default Loading Page In Apache?

Feb 8, 2010

but ive two problems. 1st: The first is how do i change the default page on load up of localhost.eg when i enter the http://localhost/ i get the usual it works symbol.this is because its loading the index.html file in my var/www/ folder.i dont want too create another index file, but how do i change the configuration too load up a different one like home.html2nd: i tried installing sudo apt-get install phpmyadmin and for the most part it worked.but nothign comes up when i go to http://localhost/phpmyadmin/

View 2 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 :: Apache Multiple Hosts Defined Only One Page Is Served?

Dec 30, 2010

I have a server that host's several sites, recently I had to create a new server because the old one isn't good enough for me. Ive installed apache2 on the new server and moved all the files from one server to the other. I'm making tests in my local lan so I've edited my computer's hosts file to point to the name of each site to the local ip of the new server:

192.168.1.85 www.mypage.com
192.168.1.85 svn.mypage.com
192.168.1.85 trac.mypage.com

I have all the site definition files in /etc/apache2/sites-available I also have the used a2ensite to enable each page.

Whenever o use my browser to try and access each of the sites I always get the svn.mypage.com page and none of the others.

here is some debug info:

Code:
sudo apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:

[Code]....

View 1 Replies View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

Jun 8, 2009

I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation

View 2 Replies View Related

Fedora :: Test Page For Apache Just Blank

Jun 12, 2011

I had installed and checked lamp stack last night but today when I type http://localhost the fodora test page for apache didn't come up. It is just blank. I had also configured apache to load after every boot.

View 14 Replies View Related

Ubuntu Servers :: Apache Server Don't Want To Start By Itself On Boot

Apr 6, 2010

My apache server don't want to start by itself on boot.

View 9 Replies View Related

Ubuntu Servers :: Faile To Start Apache : Line 236?

Aug 22, 2010

Failed to start apache :* Starting web server apache2apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory

View 4 Replies View Related

Fedora :: Start Page: /nagios Is Forbidden - Don't Have Permission To Access

Feb 28, 2011

I don't have permission to access [URL]. I can access [URL] only local. I configured local and network access in /etc/httpd/conf.d/nagios.conf. My access_log: "GET /nagios HTTP/1.1" 403 334 "-" "Mozilla/5.0 (X11;U;Linux i686; en-US; en -US; rv:1.9.1.9) Gecko/2010100330 Fedora/3.5.9-1 fc11 Firefox/3.5.9" "GET /vavicon.ico HTTP/1.1" 404 335 "-" "Mozilla/5.0 X11;U;Linux i686; en-US; en -US; rv:1.9.1.9) Gecko/2010100330 Fedora/3.5.9-1 fc11 Firefox/3.5.9" My error_log: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

Digest: genarating secret for digest authentication done mod_python: Creating 4 session mutexes based o 150 max processes and 0 max threads mod_python: using mutex_directory /tmp Apache/2.2.15 (Unix) DAV/2 PHP/5.2.13 mod_python/3.3.1 Python/2.6 mod_ssl/2.2.15 OpenSSL/0.9.8n-fips mod_perl/2.0.4 Perl/v5.10.0 configured --
resuming normal operations Permission denied: access to /nagios denied File does not exist: /var/www/html/favicon.ico Directory index forbidden by Option directive: /var/www/html

View 9 Replies View Related

Fedora Installation :: Apache Won't Start On F12

Dec 8, 2009

I can connect to localhost, and get the test page.However, as soon as I install the apache PHP module, with:[root] # yum install php apache will not restart.Watching active processes with qps, I see apache tries to start, but then it crashes - hence it writes to the error log to say it's started. But there's no PID in /var/run/httpd, and I cannot connect to localhost.

View 6 Replies View Related

Fedora :: Failed To Start Apache

Jul 7, 2011

I was working on my Drupal test site (running Fedora 11) when it froze. I had to hold down the power button to get it to shut off. When I booted back up, I received the error message "Your system had a kernel failure" after logging in. When I tried to access my test site's ip address or 127.0.0.1, I get the error message "unable to connect". However, I can access and log into Webmin (version 1.440) at 127.0.0.1:10000. Then I noticed that my Apache Web Server (Apache version 2.2.15) was not started. When I try to start it, I get the error message:"Failed to start apache. I'm using Fedora 11, Drupal 6.2 and Apache version 2.2.15.

View 1 Replies View Related

Fedora Servers :: When Passing Variable From One Page To The Next It Gets Lost

Jun 19, 2010

I have installed FC13 on my laptop and set it up as a development server. Here is my issue when passing variable from one page to the next it gets lost. My PHP includes work DB connect string works from the include.

View 1 Replies View Related

Fedora Servers :: Welcome Page When Codeigniter Works But It Doesn't Work

Oct 27, 2010

the codeigniter didn't work in my Fedora,the welcome page,when your codeigniter works,it will shows,but it doesn't appear.the same step,it can work in Windows. What's the problem?

View 4 Replies View Related

Fedora Servers :: Custom 403 Does Not Work - Test Page Shown ?

Jun 12, 2011

I use .htaccess to deny all ip addresses except certain to an internal wiki on a subdomain.

Code:

If access is denied to the homepage users are shown the Fedora test page instead of my own custom 403 error page. When I go to a page - not home - I see a standard 403 error page.

Code:

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.54 (Fedora) Server at wiki.domain.com Port 80. What am I missing here? Seems like my ErrorDocument is not being reached..

View 2 Replies View Related

Fedora Installation :: Apache Web Server Does Not Start Automatically Unless Login

Feb 20, 2009

I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )

I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).

Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.

View 5 Replies View Related

General :: Apache Test Page Help

Aug 11, 2011

I am trying to set up a web page for the business and we have had the website or domain for a while but no one has put anything on it. I have never done anything like this before so i typed in the website and got the apache test page saying that i should add this: /var/www/html/

1) i'm not really sure what to add it to
2) i've tried adding it to the website url and that comes up with invalid page
3) could someone please explain in simple terms how i can get on to the webpage so i can start adding content to it?

View 1 Replies View Related

Fedora Servers :: Run Apache On LAN?

Feb 23, 2009

I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.

View 8 Replies View Related

General :: Apache Error Whenever I Access Page / Fix It?

Nov 20, 2009

I am getting this error whenever I access the page:

Code:
PHP Warning: fgets(): supplied argument is not a valid stream resource
Any idea whats all about?
I explored and found it permission issue.
I want to put a user call paul in apache group.Any idea how can I do that?

View 6 Replies View Related

General :: Apache Loads Wrong Page

Nov 23, 2010

I not a total noob to linux only a noob to apache.I am Running A lamp server on A VPS with myhosting.com. but try as i might i cant apache2 to load the right page. I have set document root to /slk/redretriever/ but when i load the page it still loads /var/www/vhosts/default/htdocs/.I cant figure out why please help.

View 5 Replies View Related

Server :: Apache / PHP - Getting Blank Page In Browser

May 8, 2010

I have created a php page with only
PHP Code:
<? php echo "OK"; ?>
in the code. When I go to that page in a browser, I get a blank page. Is that normal, or am I suppose to see the word "OK" displayed in a browser? When I became curious, I open up Wireshark to capture the packets, I see that my server is giving out a "HTTP/1.0 500 Internal Server Error".

Here's the entire tcp stream:
Code:
GET /services/test.php HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 .....

View 6 Replies View Related







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