Ubuntu :: Apache Won't Serve Up Index.php
Jan 13, 2010
I recently restarted my Apache server to change the max upload from 5mb to 25mb. Once Apache restarted I tryed to go to my website via url www.website.com and a blank page with this source code:
<html>
<body bgcolor="#FFFFFF">
</body>
</html>
I also have two demo websites that I am running and when I go to there url's www.website.com/demosite apache will serve up the index.php
I didn't change anything but the max_upload in the apache2.conf and restarted.
View 1 Replies
ADVERTISEMENT
Jun 10, 2010
I use to keep a running instance of Apache in order to test my sites locally. I'm usually not that fussy about security, assuming my 80 and 8080 ports are closed (and, well, also the other ones).Anyway this evening I was just logging into PHPMyAdmin when I found the default username was a string of garbled characters. When I entered PHPMyAdmin, I was greeted with the message
Code: Additional features have been disabled in order to work with linked tables. To find out why click here.So I clicked and it seems that the error comes from the table
Code:
$cfg['Servers'][$i]['tracking']
which has been disabled. Everything else SEEMS ok at first sight.So now I have got a few questions.
1) I checked via canyouseeme.org and the default ports are still closed. This mean it should be impossible to even try to do something on my Apache remotely, right?
2) How do I reenable the additional features?
3) How do I check if someone else logged in?
4) What about the garbled name at the login? This should be just a Firefox thing, or actually PHPMyAdmin does suggest the name of the latest login?
5) How do I set up Apache to serve only the computers in the LAN? At worst, even only the local computer would be good.
View 4 Replies
View Related
Aug 15, 2010
I've just set up a Ubuntu 10.04 LAMP server and put a couple of websites on it.It Seems to be working fine except that it won't serve any images.It apparently served a 3787 byte response which was not received by netcat! Not even headers.It's not the usual-permission etc as there is no line in the error log about this request.
View 7 Replies
View Related
Jan 6, 2009
I've tried, but now I give up. I'm trying to run Apache on FC9. Nothing fancy, no extras, just the default installed apache. [correction, I have coldfusion installed, however the service is not running] I've set the Listen variable to every combination I could think of, with no success. I can set it whatever I like (such as my local IP) on any port other than port 80. If I try to set it to 192.168.x.x:80, it gives me the error message:
Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.x.x:80
I've run netstat commands to try and find applications listening on port 80 and found nothing. Whenever I chose a port other than 80 to get the service to start successfully, I am able to serve pages locally. But even with my ports forwarded correctly, no one outside the local network can see it. I've checked with nmap that my machine is opening the ports and even cheated, disabling the firewall during testing to ensure it was not part of the problem.
I noticed while locally nmaping my server that whenever I set Listen 192.168.x.x:8081, 8081 is opened, as well as normal port 80. When I stop the httpd service, both those ports are simultaneously closed. Why is httpd opening port 80? I'm assuming this is related to why I cannot assign Listen to port 80. If I run remote scans from sites like www.nmap-online.com and www.canyouseeme.org, nmap-online will report filtered on ports 80 and 8081 if my httpd is running, and if httpd stopped, 80 is closed, filtered 8081.
Can you seem reports success on ports 80 and 8081 if httpd is running, fail if httpd is stopped. I'm sure thats all a lot of information cluttered in to all that. To summarize, I cannot start my httpd server on port 80, and I cannot ever see my webpages beyond my local network. Am I missing something extremely is simple and I'm just over looking it?
View 5 Replies
View Related
Sep 6, 2010
So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.
View 1 Replies
View Related
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
May 20, 2010
I've set up Apache once or twice in the past, but my memory is escaping me on something simple. This time the OS is Cent5 with Apache/2.2.3
When a user browses to: [url] <nothing else> I get as expected, a '403 'You don't have permission to access' because directory browsing is off for obvious reasons :-) If I enter the full URL to the script: [url]it works as expected. No issues there.
What I would *like* to do (and I'm sure I've done this before) is to set the cgi-bin up so if someone leaves off the script name: http://host.name/cgi-bin/ it serves "index.cgi" pretty much in the same way that if you browse to the root http directory, you index.html||php would normally serve. I just can't remember how to achieve this simple thing and I'm starting to wonder 'am I mad? - Did I do this before?'.
Sanity check - index.cgi exists and runs if you call it directly thus:
Code:
I have added:
Code:
That made no difference.
Tried:
Code:
For good measure, but that made no difference - and even
Code:
and no amount of playing with 'Options Indexes || -Indexes || +Indexes' helped me.
Like I say, I'm sure I've done it before (on Debian/Ubuntu) without the need to start playing with redirects or .htaccess - but I'll be blowed if I can remember how.
View 2 Replies
View Related
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
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
Sep 15, 2010
I've got a perl script which generates an html file. What I'd really like to do is send people to just one page (the perl page) which then generates the html and shows the html page in question. Thus the whole transition will be invisible to the user, they'll just have an html page.FYI the perl script generates a list of the users who last logged in to the system, it needs to be up to date (by the second).Let me know if this isn't clear, I understand it sounds a bit confusing...
View 4 Replies
View Related
Aug 16, 2010
Do I need to restart the webserver if I make any change in the file index.html? Or should the changes get reflected when I open the page again without restarting the service?
View 3 Replies
View Related
Jan 19, 2011
I've just upgraded my laptop to Fedora 14 and installed LAMP on it for a test environment. I've followed the official instructions to install but seem to have a problem that I didn't have on F13 or Opensuse. Each time I try to access index.php on localhost I get a permission denied message and an SElinux alert. I have tried 7 different solutions on various forums and just can't view anything in a browser.
/var/www/html has been set to chmod 777
/var/www/html/index.php has also been set to chmod 777
A standard user can definitely read and write to the above files/folder. Until I commented it out the Welcome/Test page was working perfectly.
View 5 Replies
View Related
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
Apr 3, 2010
how to connect mysql server from ubuntu,.
View 3 Replies
View Related
Nov 10, 2010
Planning to build a basic home sever running Ubuntu 10.10 32-bit. My aim is connect an audio/video cable from the TV set top box, to the server's video/audio in ports (may have to buy a capture card that works with Linux).
I don't necessarily need a TV tuner (I think). I was hoping to have a simple video/audio capture card. If I can do this, how can I then let Ubuntu "serve" that video and audio stream to other Ubuntu PC's in my home?
I heard about MythTV. Can it take those AV streams and "send" them over my Wi-Fi to other computers?
Am so confused. The more I read the more I get confused. Want to keep this cheap and simple. I want to send the AV that the home server PC captures with its capture card, and have a client software connect from the client PC to view the streams.
View 2 Replies
View Related
Feb 22, 2010
I have a media server with all my music and movies on it. Right now I have mediatomb on it serving up files to my ps3. They are on the same LAN. Is there a way to accomplish the same thing, but have them on different networks? Can I tell the ps3 to search an external IP addres on port 2222 to look for a media server?If that won't work (I doubt it will), is there another way to do this? I am moving to Germany in 5 months for work and I Won't be able to bring my media server with me. I'm taking a bunch of stuff to my parent's to avoid rent and all....So I could just hook the server up to the router, set it to forward a port and have access to it.
View 1 Replies
View Related
Oct 25, 2010
I have it working fine when tftp and dhcp are installed on the same server but when trying to forward to a remote tftp it does not work. Dnsmasq insist on giving its local ip.I have added to config:dhcp-boot=pxelinux.0,pxetest2,192.168.0.130and I tried with and without the original hcp-boot=/var/lib/tftpboot/pxelinux.0Not much on this topic on the google nor on the dnsmasq homepage.
View 1 Replies
View Related
Mar 5, 2011
I want to move a big file (92gb tar) from a server to a new one
What's the best way to do this? I did try scp username@<xxx.xxx.xxx.101>:</home/xx...les/ani.tar.gz>
Which I found on the web somewhere but it did not work for me
View 3 Replies
View Related
May 22, 2011
I am trying to build a file server with RAID 5 over a couple of 1TB HDDs, to serve about 10 client machines using Ubuntu Server. I already own a 22-port switch: HP ProCurve v1810G-24 Switch (J9450A), which I am assuming will do the job. And for the actual server I am thinking of buying: HP ProLiant DL120 1U. Will this hardware suffice, or am I missing something important to get the whole thing running?
View 9 Replies
View Related
Jul 27, 2015
I need to shear internet i use isc-dhcp-serve and it work but internet doesn't work i have triad so many commends but still networking ... My setting is eth0 - wan eth1 -local
iface eth1 inet static
address 192.168.42.6
netmask 255.255.255.0
dhcp
authoritative;
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}
View 0 Replies
View Related
May 12, 2011
How do I check a process which is over loading the server. I give command Top andthe average load of the server is so high.
How should I kill the over loading process.
View 5 Replies
View Related
May 16, 2010
I am trying to use two CentOS 5.5 boxes to serve up email. I wish to loadbalance HTTP, IMAP, POP3, and SMTP between the two servers. The servers are not in a cluster (the email software does not require it). What filesystem could be used to distribute/replicate the files between the two servers? I have tried NFS, GFS, and GlusterFS. All of which work but result in a latency that is unacceptable to the end users (webmail clients).
View 4 Replies
View Related
Aug 22, 2010
I have been trying to get a home server to do what i want but just not getting there.I only need it to serve up the files to a home ( non internet ) network.I saw that filezilla also comes in a Linux version also. I am going to give it a try next. Anyone use the linux version of filezilla ? What happened did it work not work ?
View 3 Replies
View Related
Sep 1, 2011
I am about to build a server cluster with mysql-cluster and a couple of apache webservers. I have found lots of tutorials regarding the setup of haproxy, but i have the option to get a pretty affordable barracuda load balancer. Now, i am kinda new at this. But my main questions are.. Can the load balancer also serve for the database? Is it a straightforward configuration?
View 1 Replies
View Related
Apr 19, 2010
I'm configuring sendmail that runs on Linux Slackware but find some difficulties to do some quick startup due to its complexity and massive documentation. Suppose I want to configure a sendmail that can serve 2 domains:
ethereal1m.no-ip.com
ethereal2m.no-ip.com
I use noip2 client software to connect with noip server that translates the dynamic IP addressed domains, setups POP, and does forwarding. By having 2 domains, I want to able to send email between admin@ethereal1m.no-ip.com and admin@ethereal2m.no.ip.com;therefore, my machine acts as both a server and a client. How can I setup sendmail so that it acts as both server and client? How to register email address and its domain on sendmail?
View 2 Replies
View Related
Jan 18, 2010
We have a server that needs to be hi availablility.
The problem is, sometimes our internet winks out for a few minutes.
We decided that we wanted to get two seperate lines to our server, and so they would be two different ip addresses.
What out there would allow us to serve apache on www.mywebsite.com on more than one ip, and, if we can, do load balancing?
View 6 Replies
View Related
Jul 27, 2010
I am having static html pages and want to embed some flash videos in them.I have installed Red5 on my server after this what do I do so that I can serve them using Red5.
View 10 Replies
View Related
May 21, 2010
Running Ubuntu 10.04
Installed apache2 and php5 and it works in /var/www
but once I point it to a home directory it won't serve php. Normally I have used phpcgi but I am currently trying to use regular php.
Here is my default file.
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/greensmoothiegirl/public_html
<Directory />
[Code]....
View 4 Replies
View Related
Dec 15, 2009
We're trying out a few backup strategies and I had a question pertaining to CentOS installations. I was trying to think of the best way to back up and restore installation 'profiles' for a given server. In terms of a basic backup strategy.I currently back up the /etc, /var, /usr and /home directories with an rsync-based script, which has been working nicely so far.I also have a script which does a yum list installed on a certain configured server. It then 'diffs' this against the output from a base install of CentOS. The point of this is to figure out the packages installed for this server 'profile' so I can restore them.
Ideally, it would be nice if there were a way to generate kickstart files in reverse for a given server config. I was wondering what the best way to do this would be. Currently, I'm concerned enough about failures that I'm imaging stuff using Mondo Rescue.
View 2 Replies
View Related
May 7, 2010
Does Ubuntu Server 10.04 give me a good/easy way to upload music, photos, and videos and automatically have them available to a TiVo, a PlayStation 3, and Macs/PCs running iTunes on the network?I'd additionally like it to be able to transcode the videos into formats that the PS3 can handle.
View 3 Replies
View Related