Server :: Unexplainable 404 Error In Apache2 / Requested Url /~myusername/site/ Not Found?
May 26, 2009
I am in the process of writing a web-application using apache,mod-python and cheetah. I installed apache2, mod-python and cheetah and also enabled the userdir module in apache2 so that i can host the webpages inside my public_html folder.
The public_html folder has a folder named 'site' which gets displayed when I type "url" in the browser. There are subfolders inside this 'site' folder and the site folder also has an index.html page inside it.
But when I click on the site folder in the browser, I get a 'Requested url /~myusername/site/ not found'. There are files inside the folder with 777 permissions and still I get this error.
I use Ubuntu Jaunty with the following configuration - 'Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch mod_python/3.3.1 Python/2.6.2 Server at localhost Port 80'.
These are the lines I have added to the /etc/apache2/sites-available/default file
I looked around on the internet to find a solution, but none found.I installed apache2 on Karmic Koala and that one works. On the default page I created a link to "/home/me/Documents/folder/index.html", but when I click the link it gives me the URL not found-error.
I have no idea why, but my website times out as soon as you try to use the cart.(which invokes SSL)It seems to have happened after I went live from testing, but I checked my configurations, and I can't see anything awry in my apache2 confs.Has anyone run into this before?I don't know how or why this happened or how to even begin fxing it
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 18.104.22.168:80 no listening sockets available, shutting down Unable to open logs failed!
My squid configuration is based on a whitelist only basis.
Im trying to do a dynamic whitelist for squid, which allow URLs in the whitelist when the requested URL comes from a trusted search engine like www.kidrex.org. However, when i access www.example.com and tried and find www.kidrex.org on the referer column, i could not see www.example.com as the requested websites.
Any idea how to get pass this problem, else i would have a hard time building my whitelist, which is not dynamic at all
I installed squid on my centos and I tried to follow some guides but it still gives the same error
Quote: ERROR The requested URL could not be retrieved
While trying to retrieve the [URL]...The following error was encountered: Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
ZON-BFC0 is the name presented in my wireless connection, plus the actual ip I'm using there is the ipv4 I found with a quick "ipconfig" search on DOS.
I'm new to Linux and I recently decided to try out Ubuntu. I used the Wubi installer so it's on Windows (just to see if I liked Ubuntu) and it works fine, but with one exception: the internet (or maybe just Firefox) isn't working. The internet connection worked just fine on XP. On Ubuntu, it says that it was able to connect to the wireless network, but when I try to go to any page on Firefox it just keeps trying to load perpetually and never connects to the site, eventually just showing the "Server not found" page.
I'm doing an upgrade of a web based application for a charity organization. To test the changes that we're making to the code, I wanted to set up a server on my home PC to host a copy of the site. I've configured apache, php and mysql like the server that's currently hosting the real app, but I have a problem:The first page is a login screen. This, of course, has a login form like so:
today there was problem with isp but we fix it now other machine run internet fine but when we run through squid proxy machine it give this message to all users. what fields column values config i should check it. i also reset the cache make empty folder. restart machine also service clear the logs . it is on centos 5.4
see below message
ERROR: The requested URL could not be retrieved While trying to retrieve the URL: [URL] The following error was encountered: Read Error
The system returned:
(104) Connection reset by peerAn error condition occurred while reading data from the network. Please retry your request. Your cache administrator is root.
I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
I'm using openSUSE 11.1, KDE I'm trying to install the module Apache2::Request to my OS. After the gzip -dc libapreq2-2.12.tar.gz | tar -xof - I typed in Shell these (as shown in INSTALLATION document of module): perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs Then something goes wrong, make doesn't work saying: make: *** No targets specified and no makefile found. Stop..
I think the problem is in the command perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs in section .../path/to/apache2/bin/apxs . What does mean ./path/to/apache2/bin/apxs? Maybe I should write the path to apache2 which contains a file named apxs? I did not find such file apxs. My apache2 path is /etc/apache2, but there is no file named apxs... Result for perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs:
Since upgrading to Lucid, I am getting the following dialog warning on login: 'Could not apply the stored configuration for monitors X Server does not support size requested' Im using the current proprietary NVIDIA graphics driver with dual heads. My display is fine, but the warning every time I login is annoying. After googling around I found this thread: [URL]. I tried going to Monitor Preferences as suggested. My resolution as displayed in the default tool is set to 3840 x 1200, which I suspect is the issue forcing the dialog, but I cant change the resolution, refresh rate or rotation from the Monitor Preference dialog box. dino99's response (in the referenced post) about xorg.conf not being needed anymore seems relevant. How can I resolve this issue and get rid of this annoying warning? Is there a configuration that I can update with a supported resolution to placate lucid?
I currently have a massive problem with my main webserver: one of the SCSI drives where I keep my htdocs seems to have failed (sd 0:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK end_request: I/O error, dev sda, sector 7797601).
Since I have no backup (dumb!dumb!dumb!) of it, I tried to copy what I could on the fly, but that failed miserably. The next idea was to umount the volume and try remounting it R-O, but I have a bunch of apache2 processes that are apparently reading/writing on it and I can't seem to find any way of terminating them. I tried via init script, killall and kill -9 but they just don't respond. Until I can terminate those processes, I won't be able to unmount the drive and try saving what's left of the data.Oh and the cherry on top of the cake: the server is 1100 miles away so I can't even access it physically..Is there any way I didn't think of to get rid of those apache processes?
In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?
I am trying to set up a lamp server and I would like to change the ServerTokens option from full to prod but when I open /etc/apache2/apache2.conf it's no where to be found. Has the option been moved somewhere else? Same with setting ServerSignature from on to off. I'm starting to wonder if I even have the right conf file.
I have installed Windows 7 followed by Fedora 11. Everytime I install Fedora 11 with Win 7, the first to boot, I get BOOTMGR missing. Later I used "df -h" command to see the disk file usage fdisk -l" to see the info regarding Disk Partitions. Went into the /boot/grub/menu.lst and modified the order. I set the partition where I find the bootmgr.exe.mui, there was another file named "memtest.exe.mui in the same file.
I navigated to the above said through Fedora 11. Located inside the Win 7 installed directory /boot/en-US/
When I changed the menu.lst file, I get a new error Error 12: Invalid device requested when I tried to boot Win 7. Does that mean that Fedora 11 GRUB is not getting the bootmgr.exe.mui since its 2 levels inside the boot directory ??
Every time I upgrade my system I run a post install script. This script made some harm to the network start that prevents sshd from starting, but I was unable to detect the problem. In my boot.log I found this:
[...] Starting NetworkManager daemon: [ OK ] Starting Avahi daemon... Jun 2 14:58:48 Antares kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
So there is a "bind to port 22 failed" probably caused by "eth0: link is not ready", but after the sshd init script fails the eth0 is ready...
I have message: error 12: invalid device requested.It happen when i choose ubuntu partition. before this error message the netbook run perfectly with dual boot. ubuntu is 1st option winXP is 2nd option from the list(maybe grub ?) Since i want winxp as the 1st option instead ubuntu,i change the file /boot/grub/menu.lst. what exactly i change is just cut and copy the winxp part to above ubuntu part.