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?
How do i type in an address into Nautilus (default file-browser in Gnome DE)? By default it shows me the folders as buttons instead of a typable url-type space, how do i change it to a white space i can key-into?
I have been windows using for over years and now after seeing Linux in couple of colleagues desk, I liked and have installed Linux in my home desktop (Fedora 14). After installing Fedora 14, I tried upgrading my browser Firefox from 3.6.17 (which came by default) to Firefox 4.0. I googled and got the procedure for upgrading tirefox. from this link [URL]. I followed the exact steps and while I tried to install I get the following error. I tried enough to get rid of this problem but all attempts in vain.
The Error that I get is: [root@localhost yum.repos.d]# yum install firefox4 Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora-firefox4. Please verify its path and try again
[root@localhost yum.repos.d]# yum install firefox4 Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list repos.fedorapeople.org/repos/spot/firefox4/fedora-15/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 : repos.fedorapeople.org/repos/spot/firefox4/fedora-15/i386/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora-firefox4. Please verify its path and try again [root@localhost yum.repos.d]# ls
I have found that APACHE or 'httpd' is installed in my machine. But the problem is I can start or stop the httpd but whenever I load the url http://localhost in Mozilla it shows a page load error.I have done this ,
$ /etc/init.d/httpd start then this $ /etc/init.d/httpd graceful
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.
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.
I installed WordPress 3.x on my localhost/Apache server, but I can neither install plugins nor update anything.This happens with both the stable WP3.0 version and the 3.1 beta. When I try to search the Plugin Directory from the WP dashboard, I get this message: An Unexpected HTTP Error occurred during the API request.When I run an update, I get a page asking for the login credentials for the ftp user ("To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host."). Since I'm part of the 'ftp' group on the system, I enter my system login information, click Proceed -- and get a blank page that does nothing.
I've gone to YaST, and I see that the system ftp user has a 6-character password (which may or may not be mine). I'm afraid to change it and risk screwing up other ftp-related functions. I'm running openSUSE 11.3, and am obsessive about updating. I will note that I have an old 2WIRE router that often requires me (including Zypper repos) to enter IP addresses instead of DNS-based URLs to successfully download stuff. Not sure if this is related, but just in case...
One of the computers attached to the network is giving localhost instead of 192.168.x.x in Remote Desktop config page therefore I'm unable to access it:
Quote: Your desktop is only reachable over the local network. Others can access your computer using the address localhost. Other computer and even other accounts on the same computer are showing something like:
Quote: Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.0.8. How can I fix this?
i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.
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.
I need to install a program by using the address http://255.255.255.255. However, when I type this address in my browser, I get the following error: "Failed to connect. Firefox can't establish a connection to the server at 255.255.255.255. Though the site seems valid, the browser was unable to establish a connection." Is there an easy way to put this site into the air?
Some FreeNX start-up troubles here, need a hand. 1) I am trying to establish a connection from my workplace PC on my workplaces's LAN to my home PC on my private LAN (LAN-to-LAN). Just typing in the public IP of the target LAN in the "Host" field gets me nowhere, as it fails to connect due to a denial at port 22 SSH - even though I've done the forwarding in my home router and punched the required hole in the local firewall of the target machine.
This resembles what I'm looking at: [URL]..2) My home PC is 64-bit Mepis and my workmachine is a 32-bit Ubuntu. Is this a problem?
I would like to set my FireFox up so that when I type something in the address bar that is not a url, it will automatically do a google search. I have done this before, but that was a while ago and I can't remember what settings to change in about:config.Currently, when I type something that is not a url, it performs a search and then automatically opens the first web page that it finds, like a "I'm feeling lucky" search. I just want to see a google list.
The issue I'm having is that browsers in Ubuntu 10.04 stall at the part of the process for loading web pages that is noted by the "Looking Up (website address)...". The page eventually continues to load, but it takes a long time. This problem effects all browsers on the machine (tried Firefox and Chromium). It is not a problem with the connection, because a Windows 7 laptop and even the Windows XP partition on the Ubuntu machine function as they should.
I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :
Code: num_nodes is set 64 INITIALIZE THE LIST xListHead 34 45 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! code....
i use fedora 12 i can't use yum any more , when i try i find error message it was working correctly and i donn't remember what i did
[root@PC ~]# yum list installed| grep -i nmap rpmdb: Thread/process 2405/3078244032 failed: Thread died in Berkeley DB library error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
I've tried to install Wine but I get this error: [Errno 14] HTTP Error 400 :http://linuxdownload.adobe.com/linux...ata/repomd.xml Trying other mirror.Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again Not sure what is happening here. Can anyone give me some idea and maybe a way to overcome it?
I am having difficulties in establishing a vpn connection using vpnc (or NetworkManaager-vpnc).
As long as the openswan IPsec daemon is running, vpnc-helper quits with the error message
Failed to bind to 0.0.0.0:500: Address already in use [user@computer ...]# vpnc-helper --local--port 0
If I use NetworkManager-vpnc, then establishing the connection simply fails. Using the --local-port 0 option does not change anything.
If I stop the ipsec service (service ipsec stop) then establishing the connectiong works, both with NetworkManager-vpnc and the console tool, but apparently the network traffic is not routed via the VPN - in my case this means that I cannot access hosts within the vpn and stuff.
Funny thing is - on my notebook from where I connect via WLAN, everything works fine. With Fedora 13 everything works fine, too.
Does anybody have an idea how to enforce that the vpn connection is actually used?
running Ubuntu 10.10 and mozilla and seamonkey... Tried to access a website: [URL] and got the error: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please try the following: Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS)
Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.
nc -v www dot aalto dot fi 8080 HEAD / HTML/1.1 host: www dot aalto dot fi And it returns: 200 OK Content-Length: 858 Content-Type: text/html Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT [Code]....
I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.
To configure webmail in linux5, I�ve followed below procedures:
-Squirrelmail-1.4.2.tar.gz and unzipped under the folder /var/www/html -cd squirrelmail-1.4.2 -cd config -within this directory, ./conf.pl -From main menu, I did choose 2 for domain (i.e. arafapparels.com). This is my official domain -Then save and exit -For IMAP setting, I did choose D -Selected uw and save, then exit -Then from command line, I wrote chown �R apache.apache /var/www/html/data (I created folder data in the above path) -I created a folder named as attach to keep attachment in /var/www/html i.e. /var/www/html/attach -Then typed grep �R apache /var/www/html/attach -Then typed chmod 730 /var/www/html/mail/attach (Here squirrelmail-1.4.2 directory has been moved to mail directory) -Then from web browser/Internet explorer, I typed http://localhost/mail/ -Here Username & Password appears. Previously I have created username. -But when put Username & Password, below error message displays
Error connecting to IMAP server: localhost 13: Permission denied But I gave permission by chmod 777 /var/www/html/mail and by using 555 but no result.
This morning it would not boot; when I tried to wake up the system, it gave me a bunch of errors, the last ones being as follows: "mount error: could not resolve address for servername: No address associated with hostname mountall: mount /media/shares  terminated with status 1" I am writing this in Win 7 since I lost ubuntu. I am using ubuntu 11.04.