Retrieve Wamp "Index of /" localhost homepage to browse through directories - apache

I'm running WAMP on Windows 10. I had an old computer where I was running WAMP on Windows 8, and the WAMP localhost homepage used to be a tree-structure list of the files:
Which seems fine; I can browse through directories and see their contents.
Now the WAMP localhost homepage is a larger page with links to the tools, projects, etc.
However, when I try to browse through any specific parent folder (with many other subfolders of projects) from a link in "Your Projects", it fails. I get a "404 Not Found - The requested URL /my-site/ was not found on this server." error.
I donĀ“t understand why it's different now, and I'm wondering how can I get the old WAMP localhost homepage?

I have same issue on windows 10 x64.
Solution is in /wamp64 or wamp /bin/apache/apache2xxx/conf/httpd.conf . Remove comment tag (#).
#LoadModule autoindex_module modules/mod_autoindex.so
to
LoadModule autoindex_module modules/mod_autoindex.so
Then Restart Wamp server to load autoindex module.
If you want to work on apache default page www/index.php , you need change
$suppress_localhost = True;
to
$suppress_localhost = false;
Solution from: WAMP "index of / " page not working

Related

localhost opens folder structure instead of main page - WAMP

my localhost wamp page was working fine but due to some reason it opens the /index of page.
I need to get the main home page back. I have seen some solutions to the previous answers but all my settings are exactly as advised.
"LoadModule autoindex_module modules/mod_autoindex.so" is uncommented in the httpd.conf file.
Any help on this would be amazing.
Apache version is 2.4.41
OS: Windows 10
Cheers!

Apache HTTP Server stopped working when using "https://" in xampp localhost

Google chrome update their security. how to enable HTTPS:// in xampp?
1) There is the config file xampp/apache/conf/extra/httpd-ssl.conf which contains all the ssl specific configuration. The files starts with <IfModule ssl_module>, so it only has an effect if the apache has been started with its mod_ssl module. Open the file xampp/apache/conf/httpd.conf in an editor and search for the line
#LoadModule ssl_module modules/mod_ssl.so
remove the hashmark, save the file and re-start the apache.
2) Also if you your document root is not properly configured than it might give you permission denied error. check for DOC ROOT
Check the highlighted text
I found this here. Refer to this for any help.

Can not login to drupal site using Wamp 2.5

I purchase a new Windows 8 laptop for Drupal development. I have installed Wamp 2.5 on it and I am moving / copying the sites from the old W7 development machine to thew W8 machine.
I moved the code and the /files directory and user mysql command line to restore the data. I then setup the local link in the host file as
127.0.0.1 dev.local
and setup the httpd.conf as
#
# dev.local
#
<VirtualHost 127.0.0.1>
ServerName dev.local
DocumentRoot "C:\Sites\www\dev"
<Directory "C:\Sites\www\dev">
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
The dev site come up and it public facing side (role = anonymous) works find. When I try to login using dev.local/user - the user login page appears.
But when I enter my user name and password and then press enter, I see the message "waiting on dev.local" appear and disappear in the bottom left corner of the page, but drupal does not log me in. Also,
No error message is displayed. If I enter in a invalid user name the
same thing occurs - and no error message is displayed
And this is happening on three different development web sites on
this machine.
I have no problems logging into these three sites on the W7 machine.
And I have already tried to reset the user 1 password using drush.
While the drush command appears to work, but I can not login.
I looked in the user table, and all of the users are there.
I cleared the watchdog table and tried to login. No messages are
being posted to the watchdog table when I try to login.
Does anyone have any idea what I need to do so that I can login in my sites?
Verify your settings as follow.
Click on Wamp icon and open Apache/httpd.conf and search "rewrite_module". Remove # modules/mod_rewrite.so and save it
LoadModule rewrite_module modules/mod_rewrite.so
Restart the apache service.
Make sure that your drupal root have .htaccess file. This file may be hidden. If you dont find this file then copy it from source and paste it.
If all above fails then try to disable clean url using drush commands
drush vset clean_url 0

WAMP Server directing me to internet locations when I click on the folders in www folder

I installed WAMP Server on my laptop, which is running Windows 8 Pro.
I created a number of folders in the www folder in the wamp folder. My problem is that whenever I try accessing the folders from the localhost page in my web browser, I am taken to the internet page of the folder i.e. I have two folders named family & prestashop. Whenever I click on them, a tab opens in my browser directing me to http://family/ instead of http://localhost/family/
What could be the problem?
Without seeing your httpd.conf (or httpd-vhosts.conf) it is hard to say where your problem is (or why it is a problem). Usually, to set up multiple sites, you will add virtual hosts to your httpd.conf or httpd-vhosts.conf which will tell WAMP what to do when people try to access that folder. The difference between a web address that looks like http://localhost/family and http://family is probably that you have set up a virtual host which allows you to get at that directory without running through 'localhost'.
Do you have something like this in your http-vhosts.conf in C:\wamp\bin\apache\Apache<version>\conf\extras\ ?
<VirtualHost *:80>
DocumentRoot "C:\wamp/www/family/"
ServerName "family"
</VirtualHost>

JSP with Apache/2.2.17 (Ubuntu)

I'm running a Ubuntu Sever with Apache/2.2.17. I can't seem to run JSP I just get the source code in the browser. What am I doing wrong?
Thanks
What am I doing wrong?
Expecting that Apache HTTPD magically supports JSP. It doesn't. You need Apache Tomcat instead.
See also:
Our JSP wiki page - at the bottom you can find several tutorial links to get started properly.
Try this
1)get the mod_jk.so
2)include this in httpd.conf file
LoadModule jk_module modules/mod_jk.so
3)Then in virtual host section of httpd.conf
JkMount /test/*.jsp loadbalancer
put your jsp file in webapp dir in the tomcat directory. Run as localhost:8080/your.jsp from your browser. Also make sure tomcat is set properly by running localhsot:8080 form your browser.