Questions tagged [extension]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17 votes
3 answers
13k views

Get all extensions and their respective file count in a directory

Getting all extensions for a directory: easy. Getting file counts for a particular extension: easy. But getting all file extensions and their respective file counts is alluding me. eg. + dir + abc....
denormalizer's user avatar
13 votes
5 answers
13k views

Rename files to empty filename in Windows (Vista)

Vista allows files with empty "first name" (for example, ".svn"). However, when I try to remove the filename of an existing file, leaving the prefix, in Explorer or using cmd's 'rename', I fail. How ...
ripper234's user avatar
  • 5,970
7 votes
1 answer
3k views

Is there any way to restrict user from changing file extensions in Windows XP, Vista, Windows 7?

For example, not allow users to rename abc.doc to abc.jpg? Is there any windows group policy for that? I am not asking file association restriction. If it really can't, is there any group policy to ...
Frankie Yip's user avatar
4 votes
1 answer
1k views

Is it possible to mirror a MediaWiki article from another wiki?

I have two MediaWiki installations on two different domains, both on the same server but with different databases. Is there a feature or extension that will allow me to automatically mirror the ...
William's user avatar
  • 149
3 votes
2 answers
24k views

PHP install sqlite3 extension

We are using PHP 5.3.6 here, but we used the --without-sqlite3 command when compiling PHP. (It stands in the 'Configure Command' column). But, it is very risky to recompile PHP on that server; there ...
www.data-blogger.com's user avatar
3 votes
1 answer
93 views

Complicated mod-rewrite

I have a requirement from a customer to perform some specific redirects (part of decomissioning an old server to a new one). I've been banging my head against this and it's driving me nuts! In effect,...
Pete Mallam's user avatar
2 votes
8 answers
6k views

Deleting all executables in a directory in Linux [closed]

Before I recursively tar a directory i want to be able to delete all of the executables. In windows I would have simply deleted all of the files with .exe extensions. And I cannot simply delete all ...
DHamrick's user avatar
  • 825
2 votes
1 answer
4k views

Associate .ps1 to powershell.exe through domain GPO on 2008r2

I need to associate .ps1 with powershell.exe instead of Notepad via GPO from a 2008r2 DC. I've seen one question mention CSE under Computer Configuration\Preferences\Control Panel Settings\Folder ...
Holocryptic's user avatar
  • 5,665
2 votes
1 answer
4k views

Nginx whitelist file extension

server { listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 default ipv6only=on; ## listen for ipv6 server_name public; root /var/www/public; location = /...
vitali's user avatar
  • 21
2 votes
2 answers
2k views

Explorer Right Click Context Menu Items Missing

OS: Windows XP Service Pack 2 When I right click on a file/folder most of the third party context menu items are missing. These are the items like 7zip , Unlocker, Winamp ... which adds entry to right ...
surajs's user avatar
  • 123
2 votes
2 answers
2k views

Powershell script to Inventory File Types

I have been writing a script to inventory drives by specific file types. (AVI, MPG, MP3, etc....) I can get the base script to work using only a set drive and extension, but I would really like to ...
Keith's user avatar
  • 23
2 votes
1 answer
2k views

How can I install URLScan?

I went to the official Microsoft site to install URLScan 3.1 from here However, the Web Platform Installer 4.6 is unable to find the extension to IIS. I've looked in the complete list, as well as ...
Zesty's user avatar
  • 153
2 votes
0 answers
6k views

Nginx can't accept TLS handshake when client is not sending TLS extensions

Nginx is configured as load balancer and has a server certificate installed to terminater TLS handshake for MQTT connections. It works when TLS extensions are included in clientHello during the ...
Z Wang's user avatar
  • 21
2 votes
0 answers
384 views

IIS6 Web Extensions change to prohibited after iisreset or server reboot?

We run IIS6 in 64-bit mode on a 64-bit server. I'm trying to allow the .net 2.0 extension to run and prohibit the 32-bit version. See below screenshot for context: However, after a reboot or iisreset,...
Ryan Mortier's user avatar
1 vote
1 answer
373 views

Where is Azure Let's Encrypt extension's GUI?

I'm following this tutorial https://gooroo.io/GoorooTHINK/Article/16420/Lets-Encrypt-Azure-Web-Apps-the-Free-and-Easy-Way/20047 . I created the principal, configured all the Web App Settings variables ...
Csaba Toth's user avatar
1 vote
2 answers
7k views

Installing PHP extensions to the correct PHP version

We have two versions of PHP on our Linux CentOS6 machine, 5.3.3 and 5.6.7, and wanted to install PHP extensions, memcache and imagick, to 5.6.7. Logged in as root, using yum, we installed both of ...
PaparazzoKid's user avatar
1 vote
3 answers
4k views

After installing Apache, PHP and MySQL I can't add extension to php.ini without Apache error

I have Windows XP OS. Installed Apache 2.2.14, then PHP 5.2.12 (tested with phpinfo.php -> IT'S WORKS!) Then I installed MySQL 5.1. And now, when I add extension = php_mysql.dll to php.ini and ...
user avatar
1 vote
1 answer
1k views

Iptables ipt_time extension

I'm trying to get the ipt_time extension for netfilter/iptables to work on CentOS 5.3. It's a bloodbath. First of all, the HOWTO I linked is the official Netfilter Extension HOWTO, but it's also ...
Massimo's user avatar
  • 70.7k
1 vote
1 answer
706 views

Display html files with another file extension on Apache server

One of our systems generates files with an .asp extension that actually only html. I need to display those files on an Apache httpd server, which doesn't like asp files. Is there a way to indicate to ...
Alexis Dufrenoy's user avatar
1 vote
1 answer
1k views

How to prevent Firefox extensions/add-ons from being disabled/uninstalled

I'd like to know if there is a way to prevent me or others from disabling or uninstalling Firefox extensions/add-ons (I'm on 66.0.3). (Am using Leechblock but I catch myself every so often just ...
N. Mercer's user avatar
1 vote
2 answers
117 views

Extending disk space after replacing the disks with new / larger ones

We have a Fujitsu Primergy TX100 S3P with Microsoft Windows Server 2012 Essentials. We had 500 GB disks on this server, we decided to replace them with 4TB disks. We made a copy of the system to a ...
ツ PilaR ツ's user avatar
1 vote
1 answer
1k views

PHP loads extensions when called through CLI, but not through Apache

PHP for me only loads exensions perfectly when called from the CLI, but not when I load pages through Apache. For example, this is the output of php -m: [PHP Modules] bcmath calendar Core ctype ...
undo's user avatar
  • 131
1 vote
1 answer
299 views

Install php_mailparse extension on IIS Windows 2008 RS2

I can't install the php_mailparse properly in a Windows Server 2008 RS2. I have the error: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.4\ext\php_mailparse-...
manou's user avatar
  • 61
1 vote
2 answers
2k views

ImageMagick suddenly stopped working on several of our servers

Overnight, the PECL ImageMagick extension suddenly stopped working on several of our servers. The error message displayed was as follows: PHP Warning: PHP Startup: Unable to load dynamic library '/...
MikkyX's user avatar
  • 195
1 vote
1 answer
2k views

How to update curl version on ubuntu 8.04?

On my system 8.04, curl 7.18.0 is installed: curl --version shows: curl 7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 Protocols: tftp ftp telnet dict ldap ldaps ...
umar's user avatar
  • 135
1 vote
1 answer
3k views

Group Policies not applied to single pc on domain - client side extension error 8196

Certain Group Policies are not being applied to a windows 7 64 client; only this pc seems to have this problem so far. This started this morning. When trying to add a printer the error message ...
JasonC's user avatar
  • 196
1 vote
2 answers
148 views

PHP only loads extension if apc.so is located in my www folder

This is pretty strange situation I am getting. I have installed apc (with ./configure and make) on my LAMP gentoo with PHP 5.2. To get apc loaded i need to place apc.so in my www php directory ...
dynamic's user avatar
  • 740
1 vote
1 answer
2k views

Asterisk debug dialplan with incoming number and callerid

How to debug dialplan with incoming CallerID ? im haveing context [pstn] with incoming _1000 number and CallerID = 123123123 ("external number of calling person") How can i locally check this ...
MealstroM's user avatar
  • 1,517
1 vote
1 answer
2k views

Conditionally serve 404 file based on request url file extension in Nginx?

I would like to know if I can conditionally serve a specific file as a 404 page based on the request url, or the content-type/mime-type requested. I'm guess something along the lines of: if ...
Louis's user avatar
  • 155
1 vote
2 answers
716 views

IIS 6.0 receives 404 error on files with a "." extension and nothing else

I have an issue where I am reverse proxying from an IIS 6.0 server to an apache server which is serving PNG files with no extension. Strangly it serves files with a "." but nothing else, for example: ...
Student for Life's user avatar
1 vote
1 answer
2k views

Trying to get Apache to serve webp instead of png/jpg (from /img folder of prestashop)

First post here, so I hope I did it well. I converted all png/jpg starting from my prestashop public_html folder to webp, and added rewrite rules to the .htaccess in order to have the webp served ...
Totoro's user avatar
  • 13
1 vote
0 answers
961 views

How to install mysql extension for php 5.3?

I'm trying to get an old application running under CentOS 7.8 which only supports php 5.3. I already compiled and installed php 5.3 but I'm not able to get the mysql extension working. Here is what I ...
RandomRouter's user avatar
1 vote
0 answers
155 views

Enabling extension properties on Azure AD users

We're running a pretty standard hybrid environment with a local AD that syncs to Azure AD. I've been tasked with adding some information into an attribute that isn't currently supported in Azure (...
TBiddy's user avatar
  • 11
1 vote
0 answers
168 views

OGR FDW only works with UTF-8 databases, postgis install

I try to add postgis extension on postgresql95. I use centos7 I follow this link to install postgis: http://www.postgresonline.com/journal/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9....
ikhwan aja's user avatar
1 vote
1 answer
2k views

Nginx+PHP-FPM: Let php handle file extensions

I am trying to serve a PHP script that handles some RESTful URIs and to know which format end user needs data, I handled that as the extension in the URI, eg.: example.com/foo/bar.json?q=x&a=y --&...
Tala's user avatar
  • 277
1 vote
2 answers
61 views

Configuring Chrome Extensions

When deploying Chrome in an organizaiton, extensions can be installed with the ExtensionInstallForcelist. But how do you configure options for these extensions? E.g. one of the extensions we would ...
laktak's user avatar
  • 686
1 vote
0 answers
37 views

Mapping extension for MediaWiki

I am creating a wiki that allows people to specify the geographic range in which a species is found, something like this. I would like to allow people to define these kinds of maps in some way, either ...
Chinmay Kanchi's user avatar
0 votes
2 answers
720 views

RHEL PHP 7.3.5 with mysqlnd and apache

I'll start by stating I'm not a server admin by trade, so I've been struggling with this task. PHP 7.3.5 was already installed on RHEL7 running Apache. I have installed MySQL successfully and now I am ...
Dan's user avatar
  • 101
0 votes
1 answer
8k views

php always trying to load extensions from relative path

PHP is always trying to load extensions from a relative path. For example: php.ini extension=/vld.so Warning: PHP Startup: Unable to load dynamic library './/vld.so' - .//vld.so: cannot open ...
Zulakis's user avatar
  • 4,213
0 votes
1 answer
453 views

Chrome enterprise set custom setting for extension

We have developed a browser extension and wish to distribute it. A license key is required to use our chrome extension. This value should be set by the system administrators and not by individual end ...
Dani-san's user avatar
  • 111
0 votes
2 answers
2k views

How can I see the contents off a cfg file? [closed]

I have some questions about the .cfg file format. How can I open it and how can I edit the file so that it is still usable? If I search on the internet for a .cfg file editor I didn't find anything ...
Jarne's user avatar
  • 25
0 votes
1 answer
310 views

Can Terraform providers be extended?

We use Kubernetes with some custom extensions. We'd like to extend terraform-provider-kubernetes to have custom resources. I can't seem to find any documentation or samples for this. Is this possible? ...
Austin Kelleher's user avatar
0 votes
1 answer
100 views

.Htaccess - File extension gets not removed

I'm using the .htaccess below to remove the .html file extension but if someone types in example.com/test into the browser it redirects to http://www.example.com/test.html . Why does the ....
Tom's user avatar
  • 1
0 votes
1 answer
916 views

PHP 5.4.9 Mysqli issue

On Ubuntu 12.04 server I had PHP 5.4.9 installed from the source: ./configure --prefix=/etc/php --with-apxs2=/etc/apache2/bin/apxs --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/...
Vitaly Lebedev's user avatar
0 votes
1 answer
3k views

match 2 numbers in extensions at asterisks dialplan

is there a simple way to match something like this: exten => _+380XXXXXXXXX,1,NoOp(hint that) exten => _0XXXXXXXXX,1,NoOp(hint that) this two extensions matches same number with or without +38 ...
MealstroM's user avatar
  • 1,517
0 votes
2 answers
2k views

PHP libevent on Windows

How can I install libevent on Windows? Tryed to make this via PECL but got an error "WARNING: php_bin C:\PHP\php.exe appears to have a suffix .exe, but config variab le php_suffix does not match"
Chvanikoff's user avatar
0 votes
1 answer
181 views

Which is the most efficient way (performance) to add functionality to MediaWiki?

I know of three ways to enhance MediaWiki functionality: Using extensions. Using templates. Changing MediaWiki:Common.css & MediaWiki:Common.js My question is, when I can choose which to do, ...
Reinstate Monica - Goodbye SE's user avatar
0 votes
0 answers
112 views

Add slash to end of url except of images, css, js, and xml and preserving the port

I am trying to add slashes to the end of all the url on my site except for files with extensions (all images type, css, js, xml), all while preserving the port for my local env. This is the behavior I ...
Xenophiliac's user avatar
0 votes
1 answer
544 views

ERROR:Deploying ARM-'requireGuestProvisionSignal' is not valid because the 'Microsoft.Compute/Agentless' feature is not enabled for this subscription

I'm trying to deploy a windows server VM using ARM Template and I have configured the OS progile as below. "windowsConfiguration": { "provisionVmAgent": ...
SreeSusmitha's user avatar
0 votes
1 answer
82 views

Installing the Scripting Extension Python - SNAPSHOT JARs

I am trying to install the Geoserver Scripting Extension - Python (description). After downloading geoserver-2.17-SNAPSHOT-python-plugin (my Geoserver is 2.17.0) I followed the instructions: Extract ...
ill's user avatar
  • 101