URL Alias
Re: URL Alias
I think we have maybe found your problem.
You are outside the \htdocs folder.
It's like loading you web file to the website root instead of the document root.
You should have a \htdos folder. put your test site in there and install again.
C:\Program Files\BitNami WAMP Stack\apache2\htdocs\upload
You are outside the \htdocs folder.
It's like loading you web file to the website root instead of the document root.
You should have a \htdos folder. put your test site in there and install again.
C:\Program Files\BitNami WAMP Stack\apache2\htdocs\upload
Re: URL Alias
No ... Its in the htdocs .. dont know why I didn't type that in. I promise its there. Here's a screen shot of my server info ... I got this here: admin/configuration/server info (there was no "system")
- Attachments
-
- Untitled-4.jpg (126.72 KiB) Viewed 10104 times
Re: URL Alias
mod_rewrite is loaded.
Check if custom .htaccess works:
Create a .htaccess file and place it in your webroot with the following content:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^fake\.html$ /index.html [L]
Now make sure you have an index.html file in your webroot.
Visit your website using fake.html and it will take you to index.html
Check if custom .htaccess works:
Create a .htaccess file and place it in your webroot with the following content:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^fake\.html$ /index.html [L]
Now make sure you have an index.html file in your webroot.
Visit your website using fake.html and it will take you to index.html
Re: URL Alias
Ok, I did this on my live site and it worked. Just to be clear ... I made up an index.html file and uploaded it to the webroot, is there supposed to be one there already???
Re: URL Alias
You did everything right. So, it is not server side problem.
Back to your test cart. Will you change in your .htaccess file to RewriteBase /cart/ from / cart/?
Back to your test cart. Will you change in your .htaccess file to RewriteBase /cart/ from / cart/?
Re: URL Alias
Ok, it now looks like: RewriteBase /cart/
Re: URL Alias
Yes, and with url alias turned on, you still get the 404 error, page not found.
If you turn off url alias, everything should work fine,even with the RewriteBase /cart/.
And yes, you do need that for alias to work because your site is not in the document root, but a subfolder.
I have no idea what text editor you have, but I would suggest getting notepad++
You need to got to apache/conf and open httpd.conf
got to line 225 AllowOverride None
Change it to AllowOverride All
save the file, making sure it is saved as httpd.conf, not the default .txt
Stop and restart your server and you should be fine.
That will make your .htaccess usable.
I have download and installed your webserver and did a fresh install using the upload folder as you did.
I had all the same problems because the .htaccess was being ignored.
Poor way to send out a ready to use server package for development.
If you turn off url alias, everything should work fine,even with the RewriteBase /cart/.
And yes, you do need that for alias to work because your site is not in the document root, but a subfolder.
I have no idea what text editor you have, but I would suggest getting notepad++
You need to got to apache/conf and open httpd.conf
got to line 225 AllowOverride None
Change it to AllowOverride All
save the file, making sure it is saved as httpd.conf, not the default .txt
Stop and restart your server and you should be fine.
That will make your .htaccess usable.
I have download and installed your webserver and did a fresh install using the upload folder as you did.
I had all the same problems because the .htaccess was being ignored.
Poor way to send out a ready to use server package for development.
Re: URL Alias
Arrrrggg .... I had such high hopes. I followed your instructions exactly and did this for the local and test, it didn't fix the problem. I am using notepad++
I'll have to continue this tomorrow. Thanks so much Brent and Leo, I'm so very grateful for your all your help today
I'll have to continue this tomorrow. Thanks so much Brent and Leo, I'm so very grateful for your all your help today
Re: URL Alias
Did you try Leo's test on your local site as well. And no, you don't need the index.html. It was just for testing. You have to delete it after the test.
? version WAMPStack 1.2-3
The only other change I made in httpd.conf was in line 239, I changed the order of index files to server, which shouldn't make a difference, but I tried anyway.
You could try that. I don't think it will make any difference.
Make sure AllowOverride is set to All
I also notice in PHPMyAdmin a warning at the bottom of the page.
This is the best one I have used with out building your own.
http://www.apachefriends.org/en/xampp-windows.html
? version WAMPStack 1.2-3
The only other change I made in httpd.conf was in line 239, I changed the order of index files to server, which shouldn't make a difference, but I tried anyway.
Code: Select all
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
Make sure AllowOverride is set to All
Code: Select all
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
<Directory "C:/ ... /htdocs
AllowOverride All
If this does not correct your problem, I would suggest a different test server.Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.50. This may cause unpredictable behavior.
This is the best one I have used with out building your own.
http://www.apachefriends.org/en/xampp-windows.html
Re: URL Alias
I tried your other suggestions but its still not working.
I downloaded the xampp server but when I go to open the http://localhost/ its opening bitnami ... blah. I made sure to stop the bitnami server.
I'm going to have my Brother see if he can help me sort this all out tomorrow.
I'll keep you posted.
Oh, btw .. I LOVE the way your new e-cart looks. So modern and up to date. Is there a download for the category menu in black on the left column?
Have a great day
I downloaded the xampp server but when I go to open the http://localhost/ its opening bitnami ... blah. I made sure to stop the bitnami server.
I'm going to have my Brother see if he can help me sort this all out tomorrow.
I'll keep you posted.
Oh, btw .. I LOVE the way your new e-cart looks. So modern and up to date. Is there a download for the category menu in black on the left column?
Have a great day