michael
@michael
5 years ago
7,689 posts
Sounds like mod_rewrite is not installed on the server. OR
you've forgotten to upload the hidden .htaccess file along with the SFTP upload.
updated by @michael: 09/16/23 01:42:32PM
michael
@michael
5 years ago
7,689 posts
all looks good. So the question becomes, why is your server ignoring it.

All URLs in jamroom are picked up by mod_rewrite and passed in to router.php so there is no real url /user/signup.

Need to figure out whats going on on your server to prevent that from happening.

Guesses:
* Are you using localhost on windows? // wont work
* do you have a domain name? // wont work on an ip address

* is there any info in your servers error log.
michael
@michael
5 years ago
7,689 posts
These are our server setup guides:

https://www.jamroom.net/brian/documentation/guides

They still refer to ubuntu 12.04 but I set my virtualbox (running on vagrant on a mac) on ubunutu 18.04 and it only needed a few tweaks.

The bit on virtual hosting is here:
https://www.jamroom.net/brian/documentation/guides/1211/configuring-apache-for-virtual-hosting
michael
@michael
5 years ago
7,689 posts
This is my config file:
/etc/apache2/sites-available/yoursite.com.conf
<VirtualHost *:80>

    ServerAdmin 0@somewhere.com
    ServerName yoursite.com
    ServerAlias www.yoursite.com

    DirectoryIndex index.php index.html index.htm
    DocumentRoot /home/vagrant/sites/yoursite.com/public_html
    <Directory /home/vagrant/sites/yoursite.com/public_html/>
         Options Indexes FollowSymLinks MultiViews
         AllowOverride All
         Require all granted
    </Directory>

    ErrorLog /home/vagrant/sites/yoursite.com/logs/error.log
    LogLevel error

    CustomLog /home/vagrant/sites/yoursite.com/logs/access.log combined

</VirtualHost>

Tags