Server :: Index.php - On Server - Offered For Download Rather Than Being Interpreted?
Jan 18, 2010
I have SLES10 SP3 with Apache2 in version 2.2.3 and php5.
I have a virtual host configuration with one vhost.
The /etc/apache2/listen.conf:
Code:
In _web-ims.conf:
Code:
This directory (/etc/apache2/conf.d) also contains the php-config-file php5.conf which now gets interpreted (I suppose):
Code:
Actually things are working OK.
However, ON THE SERVER php only gets interpreted by the FireFox browser when called upon localhost:
[url] //Works fine.
When called thru the IP:
BUT when I call
[url]
FROM ANOTHER CLIENT-COMPUTER, for example my windows computer with XP, using Internet Explorer, then it works!
So, does s.o. have any idea why the same call that does work on another client does not work on the Server? And why does the call with localhost on the server work?
Is that a bug in the FireFox-Browser or where do I have to tell him that he should interpret the php-code also from the IP and not only from loccalhost?
View 2 Replies
ADVERTISEMENT
Apr 3, 2010
During the installation of Ubuntu 9.04, a user is offered two partitioning choices at the appropriate step.The first is to allow Ubuntu to use ALL the unallocated disc space (I do a "clean install") to automatically form three partitions which are 1) / root, 2) /swap and finally 3) ?, sorry, can't remember what the third partition is for - probably the distro itself taking up the remaining unallocated/free disc space. I do NOT have any version of Windows installed as an OS and refuse to! My hdd is a single 160GB SATA one.
My problem comes with the Partition Table (?) with the Manual option chosen that has a drop-down list with different partitions to choose, but NO Swap partition listed!! This makes absolutely no sense to me at all.If I choose all the other partition table allows and complete the install steps, I immediately get an error message stating that no swap partition has been created (no kidding, how am I supposed to at the manual partitioning step if it isn't even listed??!! The error message also pointedly tells me to immediately create a swap space before continuing and completing the Ubuntu installation.I don't have any idea what is going on,that leads to a solution which allows me to do a manual installation of Ubuntu 9.04 (which I quickly upgrade to Ubuntu 9.10 along with the necessary security plugins or patches) with enough unallocated space left for a dual-boot system later on, adding Mint 10 as a second Linux distro/OS
View 1 Replies
View Related
Jan 8, 2011
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies
View Related
Apr 6, 2011
I have displayed web pages (e.g., index.html) under fedora 4, 5, 7, 8 before with no difficulty. Now I troed to do similar thing under Fedora 12, and I cannot display index.html. Is Fedora 12 special? I did '#tail -f /var/log/httpd/error-log' and noticed a line:
"SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0"
Is the SELinux policy blocking me from displaying index.html page?
View 14 Replies
View Related
Jun 27, 2010
I have been working on this for the last couple of days, but I don't seem to be getting anywhere with it.
I have a Fedora 12 64bit Server set up, and for the most part it's working Great. I have 3 VHost set up, and no problems with that.
My problem is I just moved my Wife's xcart store from Godaddy to this server. And the store works great. But xcart is set up to use Clean URL's, and this is what I seem to be having all the problems with.
In my "httpd.conf" file, I have "AllowOverride All" to use ".htaccess" and in xcart ACP I have it set to use Clean URL's. I added a ".htaccess" file to root folder, with this in it.
Quote:
Now if you try to log in to the store with just the base url "www.my_site.com/" I get a the Apache Test page. But if I enter "www.my_site.com/index.php" the Home page opens, and all clean url's from there work fine. ALL other pages will open just fine. So clean URL's is working. Its just the home page that won't load right.
Now if I change the ".htaccess" file, and set "RewriteEmgine Off", then the home page will load like it should with the base url., but then "Clean URL's" no longer work. I have to change "AllowOverride All" to "AllowOverride None" and turn Clean URL's off in the ACP of xcart. to get the store working again.
Then the whole site works just fine, just No Clean URL's. I'm at my wits end with this, don't know what else to try to get this to work. So I was hoping someone here might have an answer, or at least some ideas to try. This all worked just fine on GoDaddy's site, I left because it was just too dam slow. It took a minute and a half just to load the Home Page. On my server its less that 2 seconds. And every time I asked them about it, it would speed up for a few days then slow down again. But the same .htaccess file worked on that server. So I think my problem is in my "httpd.conf" file just don't know where.
View 6 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
Oct 5, 2010
I have a VERY simple setup, or so I think. 1 VirtualHost that it's only purpose is to list some files and directories, now under the DocuemntRoot there is 1 named clients. Insdide clients there are 4 folders, you guessed it, one for each client. I setup simple .htaccess for each one of these folders so each one has it's own auth.
Now on the vHost I have this:
Code:
<VirtualHost *:443>
ServerName vpn.domain.com
ServerAlias vpn.domain.lan
ServerAlias vpn
DocumentRoot /var/www/vpn
#ErrorLog /var/log/apache2/http-vpn.log
#LogLevel error .....
Now the weird part, with the AllowOverride AuthConfig those 4 directories for each client are not being displayed, if I set AllowOverride all, then the directories inside clients are not listed, if I set it to none.... then the server lists them but ignores the .htaccess.
View 9 Replies
View Related
Apr 13, 2011
For the 1st domain,say domain1. I name the index file as:
[code]...
3 identical files. It works seamlessly. On browser its webpage can be evoked. Now I add another domain, say domain2. How shall I name its index files?
[code]...
View 1 Replies
View Related
Mar 8, 2011
I have a debian box running Apache2 and PHP5.2.6 lenny.
When a request is made via https, php displays the content fine. If the request is made over HTTP the file is offered for download, rather than displaying it.
I know its probably something trivial but I've never seen this issue.
The plot thickens, I can display PHP over HTTP in some directories but not others (which offer the file for download)?
View 9 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
Sep 29, 2010
I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.
View 2 Replies
View Related
Feb 11, 2011
I recently installed Linux Mint and went through the whole business, but when I go to my DNS's it just goes to my FIOS login.
dns:
foxwebhosting.dyndns.org
foxwebhosting2.dyndns.org
I tried everything in mind, but I think the big issue has to do with the reason why it's picking up the FIOS login and not even the index of my server.
View 3 Replies
View Related
Mar 3, 2010
Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.
View 2 Replies
View Related
Sep 28, 2010
Well a bit earlier today I was trying to install the latest VLC following steps from this link:it instructed:Code:sudo add-apt-repository ppa:gnome-media-player-development/developmentsudo apt-get updateBut after the sudo apt-get updateI started getting errors at the end.. here is my log after running it:
Code:
sendblink23@sendblink23-Ubuntu:~$ sudo apt-get update
Hit http://us.archive.ubuntu.com lucid Release.gpg
[code]....
View 2 Replies
View Related
Jul 15, 2011
i keep getting this when i run update...
W:Failed to fetch http://ppa.launchpad.net/alexftimie/...source/Sources 404 Not Found
, W:Failed to fetch http://ppa.launchpad.net/alexftimie/...-i386/Packages 404 Not Found , E:Some index files failed to download. They have been ignored, or old ones used instead.
View 3 Replies
View Related
Oct 26, 2010
i am using ubuntu 8.04 and evrytime i run sudo apt-get update, the following takes place
netbase2@netbase2:~$ sudo apt-get update
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
[code]...
View 1 Replies
View Related
Jun 5, 2010
This is our first time choosing and installing linux. Our other servers are all windows 2008 x64. We were told to install fedora 13. I can only find a download for the desktop version and we're looking for the SERVER x64 download. Could I please get a link?
View 7 Replies
View Related
Oct 3, 2010
W: Failed to fetch [URL] Hash Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. Tried 3 different mirrors all have the same error. I assume this is the same issue we had a while back where one package was messing things up. Mirrors I my sources.list
[Code]...
View 9 Replies
View Related
Jul 1, 2011
Does anyone know how to resolve this?
apt-get update
[...]
W: Failed to fetch http://mozilla.debian.net/dists/squeeze-backports/Release Unable to find expected entry iceweasel-4.0/binary-i386/Packages in Meta-index file (malformed Release file?)
E: Some index files failed to download, they have been ignored, or old ones used instead.
View 2 Replies
View Related
Dec 28, 2010
Been a while since I had the 'update information is outdated' irritant, but it is back with me now. It was on 10.04 anyway and I am now running 10.10. I've checked for updates manually and get:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: [URL] maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch [URL]
W: Some index files failed to download, they have been ignored, or old ones used instead.
My other Ubuntu (10.10) box is happily downloading updates but I can't remember the last time any updates were available for the box in question.
View 3 Replies
View Related
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
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
Jul 11, 2011
I am getting this errors when I check for new updates:
Code:
W:Failed to fetch [URL] 404 Not Found
, W:Failed to fetch [URL] 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
View 1 Replies
View Related
Aug 24, 2010
I keep getting this error when trying to update but I know it is a bug and has been filed as a bug report.
Code:
Failed to fetch cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)/dists/lucid/main/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)/dists/lucid/restricted/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Some index files failed to download, they have been ignored, or old ones used instead.
View 9 Replies
View Related
Nov 12, 2010
I`m looking for some php script or maybe some nice GUI to vsftpd. There problem is that in our company very often we have to create download links for our clients.
Do You know any nice free linux software which could be administer by web panel ? Command nice is nice but its painfull if admin is on the holiday...
View 1 Replies
View Related
Jan 19, 2010
How can I download Mail from Dovecot POP3 Server to new Dovecot POP3 Server of all users and will always run every minute. I've tried fetchmail and getmail but only in one user and need to run fetchmail or getmail to retrieve new emails.
View 6 Replies
View Related
Dec 20, 2010
Pretty self-explanitory:I installed openSuSE 11.3. Now, I don't get a grub screen when I boot up, my machine just boots openSuSE..How do I get my grub back, and keep all the other OS's in tact? (Kubuntu, Ubuntu, Salix, Sabayon, are all waiting there somewhere....)
View 14 Replies
View Related
Jun 27, 2010
When I check for updates, it just malfunctions and i get this hogwash: W: Failed to fetch [URL] Could not connect to packages.freecontrib.org:80 (34.52.53.34), connection timed out
W: Failed to fetch [URL] Unable to connect to packages.freecontrib.org http:
W: Failed to fetch [URL] Unable to connect to packages.freecontrib.org http:
W: Some index files failed to download, they have been ignored, or old ones used instead.
View 5 Replies
View Related
Mar 2, 2010
when i try to install any program i always have this type of erreur messagehow to solve that ?
chec du tchargement :
Failed to download ./i586/libcodeblocks0-r6185-1.1.i586.rpm from Index of /repositories/devel:/tools:/ide/openSUSE_11.2
[code]....
View 9 Replies
View Related
Jan 27, 2010
[Code]....
W: Some index files failed to download, they have been ignored, or old ones used instead. W: You may want to run apt-get update to correct these problems
View 5 Replies
View Related