2014-05-03, 04:23 AM
2014-05-03, 07:41 AM
The DirectoryIndex goes into your server block, you probably already have a line similar to it so just add portal.php as the first preference:
The 301 will be a seperate block inside the server block:
...
index portal.php index.php index.html;
...
The 301 will be a seperate block inside the server block:
server {
...
location = /spam.php {
return 301 http://google.com;
}
...
}