Ubuntu :: /localhost/something/index.php Not Found Even It Exists?

Jan 24, 2010

I have a very strange problem.Few days ago everything was working fine.Now every site I'm developing under /var/www doesn't open at all.If i have a file /var/www/siteone/index.php, when i try to open http://localhost/siteone/index.php it's not opening. And IT USED TO OPEN few days ago.It seems that php is working: http://localhost/index.php is working.I'm using .htaccess in subfolders. I remove it for tests - nothing changed.What new i did to my Ubuntu:Installing of VMware Server 2.0.2 + Windows XP as a guest. Works fine.Strange error/warning from error.log in apache2 folder:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/apc.so' - /usr/lib/php5/20060613+lfs/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0[Sun Jan 24 18:34:02 2010] [error] [client 127.0.0.1] File does not exist: /var/www/siteone/localhostWhy this localhost appears at the end of line?I'm using linux/ubuntu for about 3 months already - i'm not confident with it.

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Localhost Can Read Phpinfo() But Not Index.php?

Jan 7, 2011

Installed apache2 and php5, got the message "It works!" and phpinfo() displays the info page from withing the my folder. But when i put my index.php and rest of the files in www/mysite/ I only get a blank page displaying nothing, as if my php scripts wont parse. If I create a plain html "hello world" doc it displays that.. I've used this guide before [URL] and got it to work last time some months ago, but this time around after clean ubuntu reinstall it's showing nothing, remember I struggled with some permission things last time doing sudo chmod a+rwx /var/www/* and same for subfolders css and images. but now nothing happens, no errors or nothing. I didnt have to do enything else last time, no php.ini or nothing, it just worked, after I set permissions to get css and images to display correctly. Tried to put my files in www alone but dont work either (also cannot delete the default index.html in the www folder). Tried to restart apache2 and the computer, but no luck. My site also works online from other servers, so this is a local problem.

View 3 Replies View Related

Fedora :: Apache Install - Access Index.php On Localhost - Permission Denied

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

Fedora Networking :: When Type "http://localhost/myDirectory/index.php" Into The Address Bar Of A Browser, Get A 404 Error?

Jul 12, 2011

I have installed XAMPP on my system and started it just fine, but for some reason when I type "http://localhost/myDirectory/index.php" into the address bar of a browser, I get a 404 error. I followed the instructions hereand after creating test.php, I was still not able to view it. Can someone please tell me what I am doing wrong?

View 11 Replies View Related

Ubuntu Installation :: Synaptic Repository Index Not Found?

Jun 7, 2010

Ubuntu 10.04: I get the following error in Synaptic: "Could not download all repository indexes" "Could not get [URL]...86/Packages.gz 404 Not Found" (translated from Norwegian).[URL].. does not exist, but it does for Karmic (change lucid for karmic in the url). How do I correct this in Synaptic?

View 2 Replies View Related

Ubuntu Installation :: E:Some Index Files Failed To Download - 404 Not Found

Oct 28, 2010

W:Failed to fetch http://ppa.launchpad.net/gezakovacs/...86/Packages.gz 404 Not Found , E:Some index files failed to download, they have been ignored, or old ones used instead.

View 1 Replies View Related

Ubuntu :: Error - 404 Not Found Some Index Files Failed To Download

Mar 19, 2011

Failed to fetch [URL] 404 Not Found Some index files failed to download, they have been ignored, or old ones used instead. I have been getting this for a while now complete with a red triangle with an ! in it on the panel.

View 1 Replies View Related

Software :: When Browse To Localhost / Error Saying Not Found?

Feb 20, 2011

i have installed apache and worked well with it ..now when i browse to localhost.i struck a error it says..

Not Found

The requested URL / was not found on this server.Apache/2.2.14 (Ubuntu) Server at localhost Port 80

Unable to get.

View 2 Replies View Related

Ubuntu :: Eth0 Doesn't Exists For Firestarter - Eth0: Error Fetching Interface Information: Device Not Found

May 5, 2010

My network name is eth2 it was changed by some reason and now i got these errors... i installed, reinstalled, re re installed, tried to run the asistant but no luck :/

Code:

* Stopping the Firestarter firewall...
eth0: error fetching interface information: Device not found
eth0: error fetching interface information: Device not found
eth0: error fetching interface information: Device not found

[code]....

View 1 Replies View Related

General :: Get "command Not Found" When The Binary File Exists?

Feb 21, 2011

I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get:

bash: ./tests: No such file or directory

I did some research, and found it could permissions, missing libraries or different architecture. So I checked those:

ls -al tests:

-rwxr-xr-x 1 me me 9948598 2011-02-21 01:54 tests

file tests

tests: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

uname -a
Linux DevBox 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
ldd tests:
linux-vdso.so.1 => (0x00007fff7db90000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f10ef14c000)

[Code].....

View 4 Replies View Related

Ubuntu Multimedia :: New Ampache Install, Http://localhost/ampache "Not Found"?

Nov 21, 2010

New Ampache install, http://localhost/ampache comes up as "Not Found"Here is the fix:

Code:
sudo ln -s /etc/ampache/ampache.conf /etc/apache2/conf.d/
Then restart apache with the following command:

[code]....

View 1 Replies View Related

General :: /localhost Recursion/cache/iptables - Allow Localhost Recursion But Deny Recursion To External Clients?

Mar 8, 2011

I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?

1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?

2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?

3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.

I have iptables with these rules:

[Code]....

View 1 Replies View Related

Ubuntu :: Deb Command Does Not Exists?

Aug 19, 2010

I downloaded the latest version Ubuntu from ubuntu.com and I am trying to install Oracle XE from the below link but for the first step couldn't find "deb" command, is the command replaced[URL]

View 3 Replies View Related

Ubuntu :: Bug Exists In Default CD DVD Writer

Jan 26, 2010

i think a bug exists in the default cd dvd writer for ubuntu. where would i report that?it asked whether id like to use the third iso standard because the file was larger than 2 gigs, and i did, and the checksum failed at the end, reporting an error and confusing me for a few minutes.

View 3 Replies View Related

Ubuntu :: Duplicate Name Exists On The Network?

Jul 14, 2010

i have network ( 5 windows and one ubuntu )simply i changed the hostname of my ubuntu pc and changed the workgroup name put the old pc name ( old hostname ) still on the network also the old workgroup name

View 2 Replies View Related

Ubuntu :: Checking To See If A Directory Exists Remotely?

Jan 14, 2010

I'm working on my first bash script. My script will do several things but right now I'm just trying to get the basic part of it down and working.I have a section that looks like this

Quote:

#/!bin/bash
SERVER=$1
if [ ! -d `ssh ${1} /somedir`];then
echo "Bad"

[code]...

The problem is that if you take that right now and run it, it will return back good in that it does exist. What I need it to do is pass back that it's bad because it doesn't exist (that is unless you actually do have that directory in your root).

View 1 Replies View Related

Ubuntu :: Manual Css Override, When External Css Exists?

Jan 15, 2010

I have an external css filewith...

Code:
#bg {
margin:0 auto;

[code]....

View 2 Replies View Related

Ubuntu :: Doesn't The Chkconfig Command Exists?

Mar 11, 2010

doesn't the chkconfig command exists for ubuntu? or is it only for red hat systems?

View 9 Replies View Related

Ubuntu :: Svnadmin: 'httpdocs' Exists And Is Non-empty

Oct 8, 2010

I'm setup on a virtual dedicated server with a host running ubuntu, but I'm trying to setup subversions.Now I can set it up in say /svn/myrepository But I want to set it up on one of my websites e.g.

/var/www/vhosts/example.com/httpdocs

but when i run svnadmin create on httpdocs i get the following error.

svnadmin: Repository creation failed
svnadmin: Could not create top-level directory
svnadmin: 'httpdocs' exists and is non-empty

View 1 Replies View Related

Ubuntu :: Apt-get; Find Out Which Software Packages Exists?

Jul 15, 2011

Slowly but surely learning to live without synaptic. How do I find out which packages exists (and what they do) using apt-get?man apt-get does not give the answer or I don't see it in there.

View 8 Replies View Related

Ubuntu :: Checking If File In /root Directory Exists?

Jun 6, 2010

I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.

Code:
#!/bin/bash
echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"

[Code]...

[Edit] Added second double quotation mark at the end of "somepassword"

View 5 Replies View Related

Ubuntu :: Error : Module.h File Doesn't Exists

Jun 21, 2010

1)I had download one hello.c for start working for Device drivers , and compile it . . I am using linux kernel 2.6.xx getting this error :

Error : linux / module.h file donesnot exists .

2) ad build the kernel and still getting the same error .

View 1 Replies View Related

Ubuntu :: Thing Copied In Firefox No Longer Exists

Aug 13, 2010

I seem to be having some problems with the clipboard. If I copy something in firefox, then quit out of firefox, the thing I copied no longer exists. I don't think this used to happen, I'm sure I would have noticed before now.

View 4 Replies View Related

Ubuntu :: Automatically Download If It Exists The 64bit Version?

Dec 9, 2010

10.10 64 bit clean install. If you download software via Software Centre, terminal or Synaptic will you automatically download, if it exists, the 64bit version?

View 2 Replies View Related

OpenSUSE :: Repository Already Exists?

Dec 5, 2010

i'm getting this error after trying to install any .rmp package. I've tried

sudo zypper rr 2
sudo zypper rr1
sudo zypper clean -a

[code]....

View 1 Replies View Related

Ubuntu :: How To Rebuild Apt Index

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

Ubuntu :: OpenShot - Segmentation Fault (Process No Longer Exists)

May 22, 2010

I just installed OpenShot from Ubuntu Software Center. When I want to launch it, it displays nothing, then I try from terminal and I get this:

Code:
OpenShot (version 1.1.3)
Process no longer exists: 15049. Creating new pid lock file.
A new frmMain has been created
Segmentation fault

2 month early I was at Ubuntu 10.04 beta and this problem occurred in : VLC, OpenArena, FileZilla etc. and I made a fresh install in April. I configured Ubuntu and have lots of important files, A fresh install isn't an option for me.

View 8 Replies View Related

Ubuntu :: Install A Newer Version Of A Package Than Exists In The Repo?

Aug 13, 2010

I am running Ubuntu 9.04 at work and have a sudden need to install a newer version of python-support (> 0.9.0) than is currently available in the repo (0.8.7) for my Ubuntu version. Upgrading to 9.10 is not an option as we are planning to jump to 10.04 LTS in the next few months and I am unable (unwilling) to mess with a complete upgrade prior. Is it possible for me to upgrade to the newest version of python-support - or is this package OS version specific? Assuming it's possible, how might I go about the process of upgrading?

View 2 Replies View Related

Ubuntu Installation :: Error Exists While Updating Linux Kernel

Mar 3, 2011

My kernel is not updating and I'm getting errors like.........

[Code]...

View 6 Replies View Related

Ubuntu Servers :: Udev Rules To Check If File Exists?

Jun 9, 2011

Is it possible to set up a udev rule that will check if a file exists on a USB drive?

I've got a few ubuntu servers in environments with some very not-techy peoples. Im hoping to get to the point where I can give them a few USB sticks with scripts on them, and if they plus one of these sticks in it will be mounted in, say, /media/special (rather than /media/usb0..7) and then the script would be run. But if a usb drive without special.sh is inserted, it should be mounted to /media/usb0..7 as normal.

I've been googeling for udev rules, and it seems simple enough to specify a mount point based on brand/model/serialnumber/etc... but i havent been able to find anything about checking for the existance of a file.

Tho the more i think about it, the more im starting to think its not going to be that straight forward. Can udev check for a file on a drive before that drive is mounted? Is it going to be a case of mounting every drive to /media/usb0..7 then having a script run that will check for the file, and if its there change the mount point before running special.sh?

View 1 Replies View Related







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