Questions tagged as 'apache'

1
answer

HTACCESS - Subdomain

Does anyone know how to configure htaccess? I need it to work with the subdomain, and the main domain does not appear in the address bar when the subdomain is open. Ex how you are now:    [ link My current htaccess is the code below: R...
asked by 15.02.2017 / 12:39
1
answer

Apache mod_rewrite

I have a rewrite rule I found in a old question of the American OS: RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*/)([^/]+)/([^/]+) $1?$2=$3&%1 [L] RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^([^/]+)/ $1.php?%1 [L] This rule...
asked by 19.10.2016 / 19:24
2
answers

Change home page via htaccess

When I access my website, apache automatically loads the index.php page. Is it possible to change this in htaccess ? I want it to always look for the Login.php page.     
asked by 20.06.2016 / 21:32
1
answer

Server folder listing appears in browser

I have on the server installed Debian , Apache , PHP5 and MySql . When you type in the browser the address of a folder, for example link , all folders and files are listed. How do I make folders and files not list...
asked by 07.06.2015 / 01:20
1
answer

Is it possible to deny access to the directory and allow access to the .htaccess file? how?

I'm trying to make a .htaccess for url's friendly but would like to make people not see my directories and at the same time the scripts could access the files ... is it possible to do this?     
asked by 25.04.2014 / 19:20
3
answers

Problem with uploading large files in PHP

I already set my site's php settings to the upload limit size ( post_max_size and upload_max_filesize ). I put 1 Giga as a precaution for the tests. But when I try to upload a 30-megabyte file, the status bar shows the progress o...
asked by 19.12.2013 / 20:58
1
answer

Page loads normally, but with status 404 [closed]

Has anyone seen anything like this? link It is a project in laravel 5.7 hosted on the king host, the site is working normally on the local server, but on the web server it loads the page with status 404 and so I can not login or anythin...
asked by 08.11.2018 / 13:06
1
answer

Api returns data correctly by artisan serves but not by apache

I made a REST api, using Laravel , for an application I am doing, to perform the requisition tests I created a VM where the api is. Assign a fixed ip to this VM and deactivate the firewall to avoid disturbing. I configured this way: In...
asked by 13.11.2017 / 20:51
1
answer

Netbeans + Php7.0 + Apache2 + Debian integration: best practices

I was having trouble enabling apache2 to run .php pages. Then I did the following: I removed the Directory address from the html folder, so the file was: Iremovedthehtmlfolderin/var/www/htmlbecauseNetBeanswhentryingtocreateaprojectin.phpd...
asked by 13.10.2017 / 19:14
1
answer

Redirect a domain to subfolder without changing the URL, but not allowing otherwise?

I have the following problem, I have an application with the following structure: app - Folder to store project files as controllers and models. public_html - Stores public documents on the web, such as index, uploads, css. routes.p...
asked by 22.11.2015 / 02:32