<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Mod_userdir</id>
	<title>Mod userdir - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Mod_userdir"/>
	<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Mod_userdir&amp;action=history"/>
	<updated>2026-05-09T18:02:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Mod_userdir&amp;diff=1388&amp;oldid=prev</id>
		<title>Docs admin: Created page with &quot;Mod_userdir is an Apache module that allows access to an account&#039;s content on your server via your server&#039;s main IP or hostname followed by a tilde (~) and the domain&#039;s userna...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Mod_userdir&amp;diff=1388&amp;oldid=prev"/>
		<updated>2013-01-20T19:01:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Mod_userdir is an Apache module that allows access to an account&amp;#039;s content on your server via your server&amp;#039;s main IP or hostname followed by a tilde (~) and the domain&amp;#039;s userna...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Mod_userdir is an Apache module that allows access to an account&amp;#039;s content on your server via your server&amp;#039;s main IP or hostname followed by a tilde (~) and the domain&amp;#039;s username. Examples:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;http://hostname/~user&lt;br /&gt;
http://127.0.0.2/~user&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
mod_userdir is useful because it allows you to view an account&amp;#039;s content on your server if the account&amp;#039;s domain is not yet resolving to your server. &lt;br /&gt;
&lt;br /&gt;
mod_userdir is also how you can use a shared SSL on a cPanel server. You can order an SSL for your server&amp;#039;s hostname and then configure it as your shared SSL on your server. Your accounts will then be able to utilize your shared SSL by using the following URL:&lt;br /&gt;
&lt;br /&gt;
https://hostname/~user&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One issue with using mod_userdir is that any bandwidth used will count against the domain being used to access the user&amp;#039;s account. For example, let&amp;#039;s say you accessed an account on your server with the following URL:&lt;br /&gt;
&lt;br /&gt;
http://ace-host.net/~example&lt;br /&gt;
&lt;br /&gt;
and the domain ace-host.net is not associated with the username &amp;#039;example&amp;#039;. Bandwidth usage when accessing this URL would be put on the domain ace-host.net and not the &amp;#039;example&amp;#039; account. To prevent this from happening, and to prevent accounts from being accessed from other accounts&amp;#039; domains, you can enable mod_userdir Protection through your WHM. Instructions on how to do so are provided below.&lt;br /&gt;
&lt;br /&gt;
1) Log into WHM as root.&lt;br /&gt;
&lt;br /&gt;
2) Click on &amp;#039;Apache mod_userdir Tweak&amp;#039; under the &amp;#039;Security Center&amp;#039; section.&lt;br /&gt;
&lt;br /&gt;
3) Check &amp;#039;Enable mod_userdir Protection&amp;#039; box.&lt;br /&gt;
&lt;br /&gt;
4) Check mark the &amp;#039;Exclude Protection&amp;#039; box to the right of &amp;#039;DefaultHost (nobody)&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
{{note|&amp;#039;&amp;#039;This allows for a shared SSL to be used.&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
5) Click the [[File:WHM_save.jpg]] button at the bottom.&lt;/div&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
</feed>