Questions tagged as 'apache'

1
answer

Apache - VirtualHost and port 8080

I installed wamp in windows 10, port 80 is busy, I must use another one. Example 8080 I also create a virtualhost example localserver.dev. In httpd.conf NameVirtualHost *:8080 <VirtualHost *:8080> DocumentRoot C:/wam...
asked by 01.06.2016 / 17:50
1
answer

sudo apachectl configtest not working

I have a website in digital ocean, com LAMP. The local project works. when I put it on the remote server, and set the file /etc/apache2/apache2.conf with the project route. but this command sudo apachectl configtest I miss this er...
asked by 22.09.2018 / 04:15
1
answer

Redirect subdomain in .htaccess and use URL to redirect to subdirectory

I have a site, say http://es.misitio.com , and I need to use .htaccess to redirect the URL (using the subdomain to add it as a subdirectory) to http://www.misitio.com/es . The same for http://en.misitio.com => http://www.mi...
asked by 19.10.2018 / 06:42
1
answer

unlink and file_put_contents permission denied

I am trying to perform an unlink and a file_put_contents and it does not allow me to perform the operation with all the correct Linux variables (the correct user, permissions in 777, just in case), I had already posted several tests and ways to...
asked by 10.07.2018 / 05:22
2
answers

Use portable XAMMP on disk D

I am using the drinking version of XAMMP, and it raises me perfectly the server (when I do the tests on my personal pc) when the folder is located on the disk C: /, what if you can not is open it on the D or another route because it throws the f...
asked by 27.09.2018 / 16:15
1
answer

Apache Virtualhost and Internet Information Services (IIS)

I was doing a project in Apache using WAMPSERVER64 with a Virtual Host and then install IIS, this caused the Virtualhost to stop working, I uninstalled the IIS and even so I left the IIS page, I searched the Internet and did not find any answer...
asked by 20.03.2018 / 08:38
1
answer

Error 403 when accessing virtualhost apache

This is my virtualhost configuration: <Macro VHost $PORT $SERVERADMIN $SERVERNAME $SERVERALIAS $DOCUMENTROOT $PASS $LOG_DIR> <VirtualHost *:$PORT> ServerAdmin $SERVERADMIN ServerName $SERVERNAME...
asked by 23.02.2018 / 21:19
1
answer

Apache + Dir Alias + htaccess and virtualhost _default_: 443 (localhost vs IP Public)

I can not enter a directory, which in Apache 2.4 is set as alias, for that vhost , since having a htaccess , which redirects everything to an index.php file, does not take the priority of the alias and passes the path to the index.php. inst...
asked by 29.12.2017 / 22:57
1
answer

Access .htaccess Error 404

Using the Xampp (Apache). If we want to access a page on our web server , which does not exist, then we should return an error of Page not found , and we should redirect it to a page error404 , that we have designed, in my case: error404....
asked by 09.01.2018 / 21:38
2
answers

Problem creating friendly URLs with htaccess and regular expressions

Greetings, I am creating a dynamic web page in which certain information is loaded using a variable $_GET . and the url remain of the type https://www.dominio.com/deals/deals.php?deal_id=483 where the variable deal_id...
asked by 22.12.2017 / 20:16