Ubuntu Servers :: How To Hide Extensions
Jun 1, 2011
I installed Ubuntu 32 bit non server edition a while ago and set up mysql, phpmyadmin, apache2, php5 and also proftpd my site is up and running perfectly but one thing I want to do is to hide the file extensions like for example at the moment it shows[URL]
View 9 Replies
ADVERTISEMENT
Apr 20, 2010
i was just wondering if anybody knows of a command that i can run in the terminal to HIDE file extensions.I would apretiate this command and i dont mind if it is for ubuntu or windows.
View 2 Replies
View Related
Apr 25, 2011
Just recently installed the latest Ubuntu on my laptop and working perfectly. I have installed and configured LAMP but unable to figure out how to hide php and html file extensions when visiting a URL. I have enabled mod_rewrite via sudo a2enmod rewrite. Can this be accomplished globally rather than using a htaccess file?
View 6 Replies
View Related
Dec 28, 2010
I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?
View 3 Replies
View Related
Jun 5, 2011
Does anybody know if it is possible to hide certain databases from the root user in MySQL?
It may sound stupid, since the root is the root and all that, and it may feel strange but it kind of adds a level of abstraction which I want to give the "root user", and I want to avoid going down the route of creating a new mysql instance on the server.
I had wondered if there is some kind of 'hide' parameter for a database or whether it is possible to change the root username to something else (e.g. 'realroot') and then create a new user 'root' with all the same privileges (except those on the hidden databases).
View 7 Replies
View Related
Mar 12, 2010
I have just set up my web server for the first time in Linux (used to be Windows 2003). I have a web site [URL], could someone with experience please check this web site to see if the PHP files are hidden (and therefor my PHP code can't be seen). If they can be seen then how do I hide the PHP files?
View 6 Replies
View Related
Feb 21, 2011
I' trying to hide the email headers that are send through postfix. I need to hide the internal IPs of servers.
View 2 Replies
View Related
Jul 18, 2010
I just moved my bottom panel to the right side of the screen and set it to auto-hide., The panel hid it'self but will not un-hide when I move the mouse to the edge of the screen... I tried to re-boot, but the panel is still "stuck"Is there an easy way to fix this? Or will I have to manualy delete the panel and make a new one
View 10 Replies
View Related
Jun 2, 2010
I have about a hundred and fifty html files that I would like to change image file extension on from gif to png. I want to change this line:
<img src="images/robopix/web/ROBOTNAME.gif" border="0">
to this:
<img src="images/robopix/web/ROBOTNAME.png" border="0">
Trouble is that ROBOTNAME is different in each of the hundred and fifty files. To make it harder, there are other gif filenames on these pages that I do not want to change. I only want the extensions to change if the address prefix is 'images/robopix/web/'. Is there any way to do this with a quick program/sed command rather than manually editing a hundred and fifty files?
View 8 Replies
View Related
Mar 24, 2010
I have a fresh install of Karmic on a older compaq laptop. I initially had LAN access, but not wifi. I added a few Broadcom packages using synaptic, and then neither worked. Then I removed the same packages, but I still have no internet access, LAN or wifi. Here are some of my settings. vincentertainment@vincentertainment-laptop:~$ iwconfig
[Code]...
View 1 Replies
View Related
May 17, 2010
I am wondering the "new way" to install firefox extensions for all users.
From [URL] we can see that the "old way" is no longer available.
Quote:
-install-global-extension and -install-global-theme have been removed from Gecko 1.9.2 and upwards.
I'm using the Lucid UNE to write this and note that it has these extensions installed for every user:
Quote:
Ubuntu Firefox Modifications
webfav
I have several users on many computers and would like to have certain extensions installed for them, such as xmarks, add bookmark here, coolpreview, etc.
I searched the entire root filesystem and didn't find any .xpi files.
View 9 Replies
View Related
Jun 24, 2010
Linux cares about case sensitivity. This is a problem when some picture upload services accept .jpg while my camera uploaded the thousands of pictures I have as .JPG.
I can handle this task fine PER DIRECTORY. The problem is, I still have a ton of directories. Is there a way I can select - Pictures - Mass rename EVERYTHING inside and everything inside all sub directories from JPG to jpg?
Basically I want to take the existing command:
rename 's/.JPG$/.jpg/' *.JPG
a step further.
View 1 Replies
View Related
Jan 3, 2011
I am writing a bash shell script and I am trying to use a select case to modify a few files with the same filename but different extensions (i.e. problem.tex problem.log problem .pdf etc.)
It goes something like this:
Select item in $list
do
compile $item.tex
open $item.pdf
delete $item.log
break
done
exit
Right now my list is list=$( find . -maxdepth 1 -name "*.tex" ) which returns a list only from the current directory of all files ending in .tex so when I try to open the resulting .pdf file I get the error:
error: file problem.tex.pdf doesn't exist
So I'm trying to find a way to use just the name in a select menu.
View 5 Replies
View Related
Feb 15, 2011
I want to rename some image file extensions from upper case to lower case but renaming all the images in all directories and subdirectories. the following code works if I am inside the folder but how do I make it work recursively?
Code:
for f in *.JPG; do mv $f `basename $f .JPG`.jpg; done;
View 2 Replies
View Related
Sep 1, 2011
I have some directories with a varying numbers of files and subdirectories. All files that have no extensions have to be tared. Their names may change, thus they can not be hardcoded. Subdirectories may also contain a unspecified number of files and subdirectories that are not relevant and should not be included in the archive.
I'd like to be able to do this with a single line, not using any .sh scripts, so that this process could be reproduced as portably as possible.
Sample directory structure:
$ ls -1F
bar-dir/
bar.with.dots
foo-directory/
foo-no-ext
[Code].....
View 2 Replies
View Related
Jan 7, 2010
I have installed apache 2 and php 5 on my server. It works great but what I need is to add few extensions to PHP so it supports my website:
PDO (with MySQL and PostgreSQL driver)
curl
GD2 or Imagick
How can I do that?
I have located my php.ini file. It's in the /etc/php5/apache2.php.ini. I have used nano /etc/php5/apache2/php.ini to open it and I searched for "curl", "pdo" etc but there is no mention of them in the php.ini file. No commented lines with these extensions.
Will it work if I just add this on the end of my php.ini?
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
View 1 Replies
View Related
Jan 1, 2010
Does anyone know of a way to perform a search for multiple file extensions at once in Gnome? I know that M$ Windows Explorer had this capability, but I'm just not sure how to do it in Gnome, or if it's possible. I just want to be able to perform searches for Video, Music, and Document file types, without having to perform a separate search for each file extension. Example: When doing a search for Video file types (.avi,.mp4,.mov,.wma, etc.), I would like to do one search for all files that have these file extensions, instead of doing one search for .avi files, a second search for .mp4 files, another for .mov files, etc.
View 8 Replies
View Related
Jul 6, 2010
I wonder how can i play internet radio with .pls extension in rhytmbox....
Ctrl+I didn't work for pls...
I am using lucid, and the station i am going to listen is: [url]
(m3u works, it's just pls that didn't work)
View 6 Replies
View Related
Jul 15, 2010
Basically, I have a selection of .rdp shortcuts to various machines, but they are considered the file type "plain text document (text/plain)" so if I change it to open with to tsclient, all of that file type opens with tsclient. And if I change it to gedit, all the rdp files open with gedit. Is there a way to create a custom file type dependent on the extension rdp, or is there a way to set tsclient to open by extension rather than filetype?
View 2 Replies
View Related
Aug 22, 2010
I would like to start using Firefox 4.X beta and I read it was possible to install extensions such as Ad Block and No Script . What I would like is step by step instructions on how to add these currently non compatible extensions.
View 4 Replies
View Related
Feb 9, 2011
I've just moved from openSuSE to Kubuntu 10.10 - and I find almost all of emacs extentions not working. For example - see the report of emacs --degug-init
Here it says that emacs have encoutered problems while loading autopair.el
But it was working on openSuSE! Or I have done smth wrong?
View 2 Replies
View Related
Mar 2, 2011
I am doing a migration and where i face problem with few file formats . I have the list of acceptable file formats , now i need to find the rest of the file formats other than the acceptable file formats. is there any tool available for this ? or can some give me the VBA macro .. My VBA macro works to find the file extension in a particular folder but the problem is its ending when the count increases to 65000 (excel limit). How do i use If condition here to avoid the acceptable format and give me unique file formats .
[Code]....
View 1 Replies
View Related
Jun 9, 2011
There's got to be an easy way to do this and I can't find it: I have 50 files with the extension .JPG. I want to change the extensions into lower case with one command.
View 7 Replies
View Related
Aug 24, 2015
iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
Whereas I am using wireless internet ...
View 14 Replies
View Related
Jul 19, 2009
I was watching a friend of mine install PHP on SuSE with YaST, and it appeared as though he was able to select the various extensions he wanted compiled into PHP for installation. I didn't know this was possible, I thought you pretty much had to take whatever extensions whoever built the package decided to include. Is it possible with CentOS to install PHP with a custom selection of extensions?
View 4 Replies
View Related
Jan 7, 2010
I am downloading the files, but don't know how to install.
View 1 Replies
View Related
May 29, 2011
ALT+F2 R to restart the Shell, your extensions will be enabled
View 6 Replies
View Related
Aug 16, 2011
I installed Fedora 15, fresh install, today. Then I installed several Gnome Shell extensions along with Gnome Do through the package manager. I logged out, and tried logging back in. Received the Gnome Shell error message, "Fatal error" and was told to try again. Get taken back to login window.
I tried logging in as "root" so I could uninstall the packages I installed, but apparently you can't do that in Fedora. What's the best course of action?
View 2 Replies
View Related
May 12, 2011
I have installed Chromium from OpenSuSE 11.4 Contrib. I have x86_64 openSuSE. When I go to the Chrome store to install some extensions the store says that Image View
View 8 Replies
View Related
Jan 18, 2010
I understand that .tar.gz and .tgz are equivalent to each other.
I did some checking as alway online. I am however stuck how to you make files with a tar.gz extenstion become .tgz. In the case of it being a compressed file is there a right and wrong way of doing this.
it seems that I always encounter things slightly off the beaten path, against my less then optimal knowledge of the man pages.
View 3 Replies
View Related