Fedora Installation :: HTML Files Instead Of RPM Files?
Mar 7, 2011
I recently upgraded from FC12 to FC14 due to errors using yum and rpm. I keep running into mirror sites with RPM files that don't install. These site have what appear to be valid RPM files, but if I use wget to retrieve the file and run "file" on it, it turns out to be an HTML file. I understand the fact that if a file is corrupted, it won't install, but I can open these "RPM" files using Mozilla after changing the extension from RPM to HTML. When I open the new HTML file, I'm prompted by the browser to open or save the RPM file. If I save the RPM file pointed to by the HTML file, I can download and install it using rpm -ivvh unless a dependency check fails. how does anyone install using yum if the package is an HTML file with an RPM extension. Here is a link as an example:
[URL]
If I use wget on this file and then run "file" on it, here is the output:
file openoffice.org-calc-core-3.3.0-20.2.fc14.i686.rpm
openoffice.org-calc-core-3.3.0-20.2.fc14.i686.rpm: HTML document text
If I change the extension of this file to HTML and open it with my browser, I am prompted to download the RPM file which turns out to be a true RPM v3.0 file. Is anyone else having this problem or can anyone point me in the right direction to download the correct RPM file. I am running behind a proxy server and have installed cntlm, configured wgetrc, yum.conf and .curlrc to use the proxy server. I am able to download and install most of the simpler applications where the dependencies are either installed or non required.
View 3 Replies
ADVERTISEMENT
Aug 3, 2010
I'm having a weird problem while uploading a file using a standard html form in Firefox 3.6.8(No extensions, except for the preloaded ones : Ubuntu Firefox modifications 0.9Rc2, mouse gesture redox 3.0.2 ). Anytime I try to upload a file whether on my localhost or at a website that offers a form with an input file, it fails. I'm just using test files, like small images. I've reinstalled my firefox, because I got this problem since 9.10 and now that I've upgraded to Lucid Lynx, I still have this issue. That's why I decided to do a fresh re-install using the same package I've downloaded previously when I did the ugprade. However, I still have the same result, the file never uploads to the server.
This happens when I use a simple html form with enctype="multipart/form-data". Though, when I use any other browser, like chrome, chromium, opera they just work fine. At my localhost, this is my code in one page, if you want to take a look, but as I say even with other websites the problem is happening too. Btw, the temp folders have written permissions (777)
PHP Code:
error_reporting(E_ALL);
ini_set('display_errors','On');
$currentDir = dirname(__FILE__);
[code]...
View 5 Replies
View Related
Aug 8, 2011
I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders
I m able to view the files and it's contents
Global Settings:
View 4 Replies
View Related
Jun 12, 2009
With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?
View 1 Replies
View Related
Feb 16, 2011
I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.
Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other computer.
Code: .....
But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.
View 6 Replies
View Related
May 5, 2010
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I am new to Fedora.
View 4 Replies
View Related
Jul 20, 2010
i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?
View 3 Replies
View Related
Jun 8, 2009
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ļ¼it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
View 2 Replies
View Related
Feb 3, 2010
I'm trying to set up some basic websites on an Apache 2 server running on my Linux box. At the moment, I have some really basic html files that I want to load into the /var/www directory. However, for whatever reason, I cannot save my html files. First, I thought it was because I didn't have permission on my account, so I switched to localadmin (i don't know if all Linux distros come with a localadmin account, but i know localadmin has "higher" permissions than, but less that root, of course). Even as localadmin, I could not save my html files!
View 2 Replies
View Related
Aug 7, 2010
I just downloaded libgtk2.0-doc at the gtkmm docs to help me with some programming. I've found where the libgtk2.0 documents are (/usr/share/gtk-doc/html) and I'm not for sure where the gtkmm docs are.
My question is: what is an easy way to view all of these HTML files? I know on Ruby you can run gem-server and you can see all of your RDocs from localhost on your browser. Is there an equivalent to that on Ubuntu for gtk-doc?
View 4 Replies
View Related
Jan 27, 2011
I am running Ubuntu 10.10 64 bit to do testing for a web site. I have successfully added a .htaccess file to the production site to process .html files as PHP files, but cannot get my localhost to process the files the same way.
Addition to apache2.config:
HTML Code:
<Directory "/home/*/public_html/*">
AllowOverride All
Order Deny,Allow
[Code].....
View 7 Replies
View Related
Nov 25, 2010
I created a local user acount and tested FTP. This allows me to post files to this directory using filezilla. I then created a webftpaccount and set the home directory to /var/www/html. Here are the permission to this directory using ls -l drwxrwsr-x 6 webftpaccount webftpaccount 4096 Nov 23 10:32 htmlhere are the permission on the sub directories
drwxrwsr-x 2 webftpaccount ftp 4096 Nov 14 07:37 myfinanceguard
drwxrwsr-x 2 webftpaccount root 4096 Nov 14 07:37 mylawguard
drwxrwsr-x 2 webftpaccount root 4096 Nov 14 07:36 xpiinc
I can log into the webftpaccount using filezilla client and it lists all the directories.It will not allow me to write a file into the html directory or any of the sub directories.Can someone help me set appropriate permissions on these directories so that I can get this working? I need to get FTP working so I set up dreamwaever FTP tlich and maintain sites.
View 7 Replies
View Related
Dec 10, 2010
why Apache is not parsing php code inside html files in LAMP? Whereas the same is working fine in WAMP..
View 6 Replies
View Related
Feb 11, 2010
i am having a very weird problem with one of my ubuntu shared maps (/home/marc/shared).I am using VMware. Windows 7 host. Ubuntu 9.10 Guest.By right clicking the shared folder (/home/marc/shared) and selecting "Sharing options" i have installed the samba software needed. The installation went fine and samba seems all good.The folder should have read write access.When using windows 7 to browse the network the shared ubuntu folder appears nicely. I use my root credentials to login wich works nicely too.
Now the following strange thing happens:When i create a file e.g. test.php, i can edit it delete it. Actually i can do whatever i want.When i create a file e.g. test.html (mind the .html extension), for some reason i can read it, delete it, but not edit it! Windows gives me somekind of message like "Please check whether if this file is opened by another program".How on earth is this possible? I never opened or used the .html file in another application so i guess it has something to do with write access credentials. Which is weird since i am able to delete the file?
View 1 Replies
View Related
Jun 3, 2010
I try to link two page from different folder and directory1. I want to link [URL]
View 9 Replies
View Related
May 5, 2010
I'm a frequent user of grep. I know that I can recursively search a directory using the -r flag:
Code:
// will recursively search all files
grep -r 'some string' *
However, if I want to limit my search to PHP files, the -r flag is suddenly useless:
Code:
// for some reason, this only searches the PHP files in the current dir
grep -r 'some string' *.php
Any good way to recursively search a directory and its subdirs for a string but ONLY look at PHP or HTML files (and possibly TXT files too) ? I'm really hoping for a nice, short command that doesn't involve using an exclude file and which isn't really painful to type. I do this kind of search very frequently and have resorted to either searching EVERY file which is really slow (TAR and ZIP files really slow it down) OR typing repeated commands to search *.php, */*.php, etc.
View 6 Replies
View Related
Jan 28, 2010
I want to make some changes to the SWAT browser interface, does anyone know where the html files reside? I am using Ubuntu hardy
View 1 Replies
View Related
Mar 2, 2010
I want to change some HTML in my files (80+ so I prefer not to do this by hand). I got a script to replace a string in files, however the HTML I want to replace contains an enter (and tab of 4 spaces) (explanation below) Does someone know how I could update my HTML by using a function in Linux?
I also found sed but don't know how to use it with the enter (linenumbers will not work because they variate)...
[Code].....
View 2 Replies
View Related
Aug 5, 2010
I install a nautilus plug-in which in turn installed the elinks browser and now all of my .html files are opening in elinks instead of firefox so how do I get .htm/.html and other web type files to open in firefox instead of elinks.
I also tried removing elinks from my system but then the files just open in gedit so again how do I associate .html (and other web files) with firefox.
BTW firefox is already set as my default browser in System > Prefs > Prefered Applications > Web Browser
View 3 Replies
View Related
Aug 26, 2010
I seem to be unable to use the html
Code:
include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.
View 7 Replies
View Related
May 29, 2010
I have a website that has a massive list of royalty free stock photos and I want to download all of them. I have bought a membership for [URL] so I am able to download as much as I want from them for the next month.
Instead of going page by page and manually downloading each set of stock photos manually, I would like to automate this process. Here's my idea:
1. Download the website with the links to hotfile [URL]
2. Use grep to retrieve all the links to [URL]
3. Feed the links I recieve from grep into wget and download the works of them.
The problem I'm getting is when I use grep, It retrieves the entire line of html code where "hotfile.com" is shown. So here is an example of one link I receive in the output:
Quote:
./1776-santa-claus-vector-set.html:<div align="center"><a href="http://hotfile.com/dl/18418176/181a55b/Santa_Claus_Vector_Set.rar.html" target="_blank">HotFile</a></div>
Is there a way to just have the link shown in the output?
PS: I have everything else working, I just need an automated process of getting all the links.
View 5 Replies
View Related
May 4, 2010
I'm using mrtg to generate html files. With mrtg , i use indexmaker . Inside html files , i have found some html tag like "<SMALL>some text</SMALL>".
There is the manner to delete text inside two tags ? With bash script?
View 1 Replies
View Related
Dec 3, 2010
I cant print html files using linux mandriva (Foomatic)
View 5 Replies
View Related
Mar 19, 2010
Our client-accounts were recently injected with the following script and since there are too many files that were injected (only index.php and index.html) how this script can be traced with a search command and removed in all files found.
[Code].....
View 9 Replies
View Related
Aug 2, 2011
My system is fedora 15 and i have been using quanta plus as my editor to edit html and php files... I need windows based quanta plus .. though I googled a lot for windows platform I may not be able to get ..
View 2 Replies
View Related
Oct 1, 2010
Code:
<html>
<head>
</head>
<body>
[Code]....
Alright this works fine to pull the directories/files in the /var/Store/2010/ directory.
But when you click on of the links it tries to http://'serveradress'/$filename
note that $filename in the url is the filename clicked on so the php script is working. but I need it to change to that dir so that you can see the folder/files there and work your way up/down/side wise thru the folder tree to where you need to go. Not try and pop it as a direct url which doesn't work.
View 3 Replies
View Related
Jun 10, 2011
I cannot get some html files on my pc to render properly, Epiphany and Iceweasel show some non-latin characters as garbage but shows others of the same language correctly although Gedit shows the same files, with or without the html code, correctly. I have all the locales installed. Can someone point me to a solution? I am misleading you when I say "garbage", it is always a pair of question marks.
View 5 Replies
View Related
Oct 2, 2010
Here is the deal: my school purchased a test prep which they distributed to us, the only problem is that it is for windows. When I try to run the exe in wine the program windows pops up but the screen is blank (i can see the menu bar and and the title bar). It appears that most of the information is located in a folder as html files (separated into chapters for each section) with links to all the figures/tables/questions
(also html files). This morning I have been trying to find a way to compile the html files into a format that I can read without having to hunt for each individual html file. I tried navigating with firefox but had to change each individual link before I could do that (very time consuming), I tried using doxygen (the GUI front end) to convert it to Latex/rtf/html/xml (all the formats) but did not have any success (It could be that I am using the app wrong). I tried opening some java applications found within the application data folder in hopes that it would bring up the navigator without success. And even tried installing java in wine (unsuccessfully) to see if that was the missing key to run the program in wine.
My question is, do I just have to fork out the $500+ that it would cost me to purchase the books instead of using the school provided program (free to us)? or is there a relatively simple way to compile these files into a format that could be readable.
tl;dr - have multiple html files for a windows native program that won't run on wine that I would like to convert to a more easily readable format (i.e. chm, pdf, etc), is it possible?the program was legally acquired through my school, I did not download or pirate it. I am not looking to distribute it, just looking to use it for my own studying purposes without spending $500+ or buying a windows license/computer.
View 2 Replies
View Related
Mar 12, 2011
I've an network architecture where for the user to reach the machine that it want, it has to pass through a frontend machine.
Code:
User ---> Frontend ----> Machine1
The connections between all hosts uses ssh. If I want to reach the Machine1, I've to authenticate to the Frontend and authenticate again to the Machine1. The Machine1 and the Frontend doesn't have X installed - only console mode.
The Machine1 has the file in my HOME directory called: hello.html that contains flash embedded. I would like to view the hello.html in my browser located at the User machine.
Is there a way to access remotely to the html file, without have to copy the file to my local machine?
View 1 Replies
View Related
Apr 27, 2011
I have mod_cgi working perfectly. However, it turns out there are features of mod_perl that I'm trying to use. I have followed all the documentation I can find on using Ubuntu's mod_perl install with Apache2. There seems to be some type of problems with the mod_perl's documentation, as it doesn't work as it's defined. However, I found a modification to make it work, but only is designated directories. If I tried to use in a directory with my other HTML files the regular HTML files will fail.
Using these steps (but using apt-get's install rather than compiling the tar ball). I did as follows:
[URL]
placed this in the httpd.conf file (which was basically the same as "a2enmod perl".
httpd.conf line:
Code:
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Alias /perl/ /home/web/perl/
<Directory /home/web/perl>
SetHandler perl-script
[Code]....
View 7 Replies
View Related