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
ADVERTISEMENT
Jun 3, 2010
I've got Ubuntu server 10.04 set up and I wanted to make a few restrictions. It's pretty much just acting as a VMware server at the moment, and there are some users I've created who I only want to be able to be able to log into the VMware infrastructure web interface. I want to make sure these users can't log in via SSH, FTP, or the console itself. I understand how to block them from logging in via SSH by using DenyUsers, and I added these users to the /etc/ftpusers file to lock them out of FTP, but how can I block them from logging in at the console itself?
I tried locking the user out by editing the /etc/passwd file, but the problem is that by doing this, it also prevents the user from being able to log into the VMware web interface.
The user's entry in /etc/passwd looks like this: bsmith:*:1005:1005:Bob Smith,,,:/home/bsmith:/bin/bash
View 3 Replies
View Related
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
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 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
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
Oct 26, 2010
What is the most proper place to mount a NFS share? I have an NFS server that shares up data to my network. Should I mount it under /mnt/NFS, /media/NFS, or /home/user/NFS? Under /mnt, I notice that a disk icon does not appear when using Gnome.
View 2 Replies
View Related
May 22, 2011
I run Debian on my old computer to use it as a server. Everything is configured properly so that it functions as a web server. Now that summer comes closer I will not be home most of the time and I was thinking to use part of my server to upload/download files. Is there some nice package that provides an easy interface for such a task? I am reffering to something like the wikimedia package but for just downloading/uploading files.
View 6 Replies
View Related
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
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
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
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
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
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
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
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
View Related
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
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
Jan 26, 2011
Ive looked up and down but i cant seem to find an answer to my question. Why cant i upload to my ftp site. I am running a lamp server and i installed proftp. i created users and groups. i tested my server and its working fine. but now when im working on dreamweaver to connect to my ftp... It connects fine i can download my files from the site but when i edit them and try to "put" them back. i get an error:
index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured.
[code].....
View 2 Replies
View Related
Jan 1, 2010
I recently did a very stupid thing:
Code:
sudo rm -f /var/log Now I cannot update or upgrade any package (I know there are updates waiting but Update Manager doesn't show any packages to download). How can I rebuild the index of packages and its versions in /var/log/apt ?
View 2 Replies
View Related
Jun 28, 2010
what I can use in Ubuntu for monitoring CPU core temps, CPU and memory speed and such, used CPU-Z, prime, HD tune up and and the like when OC'ing and UC'ing my Windows PC's but what Ubuntu equivalents are there?
View 9 Replies
View Related
Oct 7, 2010
I'm wondering how you can post web content on your desktop like you can in windows. Like to have your XBL gamercard on your desktop sort of thing. But what I want it for mainly is to put the countdown to 10.10 on there.
View 1 Replies
View Related
May 15, 2011
I have the following setup
a) 1st sata hdd - Ubuntu 9.04 (32 bit)
b) 2nd sata hdd - Win7 (64 bit)
I am on GRUB legacy. I am going to do a clean install and replace Ubuntu 9.04 with Ubuntu 10.10. I plan to leave my Win7 install alone. When I am installing Ubuntu 10.10 over Ubuntu 9.04, where should I place GRUB 2? The choices I've always seen: i) MBR or ii) boot sector of Ubuntu
I do not recall which setup I have now but I can confirm that when I start the computer, I get a GRUB menu that lets me choose Ubuntu or Windows. Ubuntu is the default if no choice is made within 20 seconds. I like that setup and want to replicate it with GRUB 2, if possible. If that is what I want, then I should place GRUB 2 on the MBR, correct or not? Note, I do not intend to install any other OSes. In other words, my 1st sata hdd will only have ubuntu and my 2nd sata hdd will only have windows.
View 3 Replies
View Related
May 15, 2011
Some app launchers can't be placed in the dock. The ones i have trouble with are the three games from Humble Frozenbyte Bundle, namely Shadowgrounds, Shadowgrounds Survivor and Trine. Their launcher icons look fine on dash, but when i start dragging them and the dash disappears, the icon turns into a question mark. Items on dock make room for the question mark icon, but after dropping it, it disappears and the dock icons return to where they were.
I guess there's something non-standard about the launchers. The games are installed under my home folder, and the game icons are xpm files in the game folder, like /home/veepee/.trine/Trine.xpm for example. The executables are in the same folder, like /home/veepee/.trine/trine-bin.
Too bad the print screen key doesn't take screenshots when the dash is up. What's up with that anyway?
View 4 Replies
View Related
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
View Related
Feb 18, 2010
Does anyone know a good script that would automatically generate an index.html file for an FTP server?
I just uploaded quite a bit of my music and files to my FTP server, and I really dont feel like having to go through and manually add links to a page so that I could browse them from anywhere.
I was looking in to using a script originally written for dropbox- here: http://www.webupd8.org/2010/02/share...lder-with.html
But it doesnt work on the remote server. I could only create the index for files residing on the drive here.
View 5 Replies
View Related
Jul 27, 2010
How do I put index.php in my root directory, since I think because of a missing index.php or index.html, I am getting a forbidden 403 error.
View 1 Replies
View Related
Mar 14, 2010
Whenever I add something to my desktop, if something with the same name has been on my desktop previously (like 'screenshot.png'), it will go to where it was previously, which sometimes causes the icons to overlap and what not.
I just wanted to know if it was possible to make the icons always go to the first open place.
View 4 Replies
View Related
Mar 27, 2010
how do i make it so that all the desktop icons in my xubuntu session are freely movable? right now they are snapping into pre-determined positions (does that make sense?)...
View 2 Replies
View Related
May 2, 2010
my window buttons are at the left corner, it works but i love it more when they are in the right corner. So what i must do to change the position to the right corner?
View 6 Replies
View Related