Apache: Allow remote access to an alias

To allow others from access an alias directory on your apache server, so you can always login to something like phpmyadmin, or phpsysinfo from outside. You need to update the .conf file for the alias.

the config file is located in your /alias/ folder.

The most important thing is Required all granted, and Allow from all.

After you updated the conf file, need to start apache.

For example, to allow access from remote access to my alias phpmyadmin.conf


Alias /phpmyadmin "E:/wamp64/apps/phpmyadmin4.6.4/"
 
<Directory "E:/wamp64/apps/phpmyadmin4.6.4/">
	Options Indexes FollowSymLinks MultiViews
  AllowOverride all
 
		Require all granted
 
 
		Order Allow,Deny
    Allow from all
#   Allow from localhost ::1 127.0.0.1
	
 
# To import big file you can increase values
  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>